From 99435cd2154300444d9e5886352ce7f7ebe9ec00 Mon Sep 17 00:00:00 2001 From: Mark Umnus Date: Wed, 20 Oct 2021 22:40:53 +0200 Subject: [PATCH] Mention ability to specify length in hex --- src/bin/hexyl.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/hexyl.rs b/src/bin/hexyl.rs index f666bd8..ca24ddc 100644 --- a/src/bin/hexyl.rs +++ b/src/bin/hexyl.rs @@ -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(