Mention ability to specify length in hex

This commit is contained in:
Mark Umnus authored and David Peter committed 2021-10-20 22:52:01 +02:00
1 parent 27f039d72a
commit 99435cd215
1 file changed
+3 -2
+3 -2
View File
@@ -36,9 +36,10 @@ fn run() -> Result<(), AnyhowError> {
.value_name("N")
.help(
"Only read N bytes from the input. The N argument can also include a \
unit with a decimal prefix (kB, MB, ..) or binary prefix (kiB, MiB, ..). \
unit with a decimal prefix (kB, MB, ..) or binary prefix (kiB, MiB, ..), \
or can be specified using a hex number. \
The short option '-l' can be used as an alias.\n\
Examples: --length=64, --length=4KiB",
Examples: --length=64, --length=4KiB, --length=0xff",
),
)
.arg(