diff options
| author | Jack O'Connor <[email protected]> | 2025-02-28 11:45:24 -0800 |
|---|---|---|
| committer | Jack O'Connor <[email protected]> | 2025-02-28 11:45:24 -0800 |
| commit | c44120061dd9b1041cdd639703fefa8219473980 (patch) | |
| tree | 32b17d9b63493ca2ebb915a6fb2e5ee8704fa8cc /b3sum | |
| parent | 70e4ce484787d1d98d663504c97f97c13a5ea7a4 (diff) | |
use --tag docstring wording closer to md5sum's
Diffstat (limited to 'b3sum')
| -rw-r--r-- | b3sum/README.md | 1 | ||||
| -rw-r--r-- | b3sum/src/main.rs | 4 |
2 files changed, 3 insertions, 2 deletions
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<ParsedCheckLine> { line_after_slash = line; } - // Split the line. It might be "<hash> <file>" or "BLAKE3(<file>) = <hash>". The latter comes + // Split the line. It might be "<hash> <file>" or "BLAKE3 (<file>) = <hash>". The latter comes // from the --tag flag. let hash_hex; let file_str; |
