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:
commit
415de28fed
1 changed files with 14 additions and 11 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue