1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-09-13 10:37:58 +00:00

Merge pull request #6192 from cakebaker/cksum_fix_formatting

cksum: fix code formatting
This commit is contained in:
Terts Diepraam 2024-04-05 09:43:43 +02:00 committed by GitHub
commit 415de28fed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -436,24 +436,27 @@ pub fn uu_app() -> Command {
.long(options::LENGTH) .long(options::LENGTH)
.value_parser(value_parser!(usize)) .value_parser(value_parser!(usize))
.short('l') .short('l')
.help("digest length in bits; must not exceed the max for the blake2 algorithm and must be a multiple of 8") .help(
"digest length in bits; must not exceed the max for the blake2 algorithm \
and must be a multiple of 8",
)
.action(ArgAction::Set), .action(ArgAction::Set),
) )
.arg( .arg(
Arg::new(options::RAW) Arg::new(options::RAW)
.long(options::RAW) .long(options::RAW)
.help("emit a raw binary digest, not hexadecimal") .help("emit a raw binary digest, not hexadecimal")
.action(ArgAction::SetTrue), .action(ArgAction::SetTrue),
) )
.arg( .arg(
Arg::new(options::BASE64) Arg::new(options::BASE64)
.long(options::BASE64) .long(options::BASE64)
.short('b') .short('b')
.help("emit a base64 digest, not hexadecimal") .help("emit a base64 digest, not hexadecimal")
.action(ArgAction::SetTrue) .action(ArgAction::SetTrue)
// Even though this could easily just override an earlier '--raw', // Even though this could easily just override an earlier '--raw',
// GNU cksum does not permit these flags to be combined: // GNU cksum does not permit these flags to be combined:
.conflicts_with(options::RAW), .conflicts_with(options::RAW),
) )
.after_help(AFTER_HELP) .after_help(AFTER_HELP)
} }