From c44120061dd9b1041cdd639703fefa8219473980 Mon Sep 17 00:00:00 2001 From: Jack O'Connor Date: Fri, 28 Feb 2025 11:45:24 -0800 Subject: use --tag docstring wording closer to md5sum's --- b3sum/README.md | 1 + b3sum/src/main.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'b3sum') diff --git a/b3sum/README.md b/b3sum/README.md index d1fbc21..595ce9e 100644 --- a/b3sum/README.md +++ b/b3sum/README.md @@ -19,6 +19,7 @@ Options: --no-mmap Disable memory mapping --no-names Omit filenames in the output --raw Write raw output bytes to stdout, rather than hex + --tag Output BSD-style checksums: BLAKE3 ([FILE]) = [HASH] -c, --check Read BLAKE3 sums from the [FILE]s and check them --quiet Skip printing OK for each checked file -h, --help Print help (see more with '--help') diff --git a/b3sum/src/main.rs b/b3sum/src/main.rs index ba9db13..ba386c7 100644 --- a/b3sum/src/main.rs +++ b/b3sum/src/main.rs @@ -73,7 +73,7 @@ struct Inner { #[arg(long)] raw: bool, - /// Prefix output with `BLAKE3 (...) =` + /// Output BSD-style checksums: BLAKE3 ([FILE]) = [HASH] #[arg(long)] tag: bool, @@ -364,7 +364,7 @@ fn parse_check_line(mut line: &str) -> Result { line_after_slash = line; } - // Split the line. It might be " " or "BLAKE3() = ". The latter comes + // Split the line. It might be " " or "BLAKE3 () = ". The latter comes // from the --tag flag. let hash_hex; let file_str; -- cgit v1.2.3