diff options
| author | Jack O'Connor <[email protected]> | 2019-12-13 16:13:40 -0500 |
|---|---|---|
| committer | Jack O'Connor <[email protected]> | 2019-12-13 16:17:57 -0500 |
| commit | ddd4f4a2023884437f87e0eb53d1e273851bdde8 (patch) | |
| tree | 6fea93da6be0d6fe3ffd156734590da525d39af6 | |
| parent | b1b507d43a51ad721fbdf7796d6e3f3a6582d99d (diff) | |
make the b3sum --help text wording more consistent
| -rw-r--r-- | b3sum/README.md | 12 | ||||
| -rw-r--r-- | b3sum/src/main.rs | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/b3sum/README.md b/b3sum/README.md index 827b6e8..cc0a49b 100644 --- a/b3sum/README.md +++ b/b3sum/README.md @@ -7,14 +7,14 @@ USAGE: b3sum [FLAGS] [OPTIONS] [file]... FLAGS: - -h, --help Prints help information - --no-names Omit filenames in the output. - -V, --version Prints version information + --derive-key Uses the KDF mode, with the 32-byte key read from stdin + -h, --help Prints help information + --keyed Uses the keyed mode, with the 32-byte key read from stdin + --no-names Omits filenames in the output + -V, --version Prints version information OPTIONS: - --derive-key <KEY> The key derivation mode. - --key <KEY> The keyed hashing mode. - -l, --length <LEN> The number of output bytes, prior to hex. + -l, --length <LEN> The number of output bytes, prior to hex encoding ARGS: <file>... diff --git a/b3sum/src/main.rs b/b3sum/src/main.rs index 4c0e91c..edfacd8 100644 --- a/b3sum/src/main.rs +++ b/b3sum/src/main.rs @@ -21,25 +21,25 @@ fn clap_parse_argv() -> clap::ArgMatches<'static> { .short("l") .takes_value(true) .value_name("LEN") - .help("The number of output bytes, prior to hex."), + .help("The number of output bytes, prior to hex encoding"), ) .arg( Arg::with_name(KEYED_ARG) .long(KEYED_ARG) .requires(FILE_ARG) - .help("Use the keyed mode, with the 32-byte key read from stdin."), + .help("Uses the keyed mode, with the 32-byte key read from stdin"), ) .arg( Arg::with_name(DERIVE_KEY_ARG) .long(DERIVE_KEY_ARG) .conflicts_with(KEYED_ARG) .requires(FILE_ARG) - .help("Use the KDF mode, with the 32-byte key read from stdin."), + .help("Uses the KDF mode, with the 32-byte key read from stdin"), ) .arg( Arg::with_name(NO_NAMES_ARG) .long(NO_NAMES_ARG) - .help("Omit filenames in the output."), + .help("Omits filenames in the output"), ) .get_matches() } |
