1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Merge pull request #2325 from tertsdiepraam/fix-sum-help-text

`sum`: fix help text for System V argument
This commit is contained in:
Sylvestre Ledru 2021-06-01 10:25:35 +02:00 committed by GitHub
commit 448c8419d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,13 +108,13 @@ pub fn uumain(args: impl uucore::Args) -> i32 {
.arg( .arg(
Arg::with_name(options::BSD_COMPATIBLE) Arg::with_name(options::BSD_COMPATIBLE)
.short(options::BSD_COMPATIBLE) .short(options::BSD_COMPATIBLE)
.help("use the BSD compatible algorithm (default)"), .help("use the BSD sum algorithm, use 1K blocks (default)"),
) )
.arg( .arg(
Arg::with_name(options::SYSTEM_V_COMPATIBLE) Arg::with_name(options::SYSTEM_V_COMPATIBLE)
.short("s") .short("s")
.long(options::SYSTEM_V_COMPATIBLE) .long(options::SYSTEM_V_COMPATIBLE)
.help("use the BSD compatible algorithm (default)"), .help("use System V sum algorithm, use 512 bytes blocks"),
) )
.get_matches_from(args); .get_matches_from(args);