Skip to content

Commit

Permalink
Updates README
Browse files Browse the repository at this point in the history
  • Loading branch information
gdavison committed Aug 6, 2020
1 parent 5ad5942 commit ee07c33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ Use the `blocks` command to extract blocks from a file:

![blocks](_docs/blocks.png)

To output only the block content, separated by the null character, use the flags ``--zero-terminated` or `z`.

### Show What Format Would Do

Use the `diff` command to see what would be formatted (files can also be piped in on stdin) :
Expand Down
2 changes: 1 addition & 1 deletion cli/cmds.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func Make() *cobra.Command {
},
}
root.AddCommand(blocksCmd)
blocksCmd.Flags().BoolP("zero-terminated", "0", false, "outputs blocks separated by null separator")
blocksCmd.Flags().BoolP("zero-terminated", "z", false, "outputs blocks separated by null separator")

root.AddCommand(&cobra.Command{
Use: "version",
Expand Down

0 comments on commit ee07c33

Please sign in to comment.