Skip to content

Commit

Permalink
Merge pull request #6192 from cakebaker/cksum_fix_formatting
Browse files Browse the repository at this point in the history
cksum: fix code formatting
  • Loading branch information
tertsdiepraam committed Apr 5, 2024
2 parents a370d15 + ac12957 commit 415de28
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions src/uu/cksum/src/cksum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -436,24 +436,27 @@ pub fn uu_app() -> Command {
.long(options::LENGTH)
.value_parser(value_parser!(usize))
.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),
)
.arg(
Arg::new(options::RAW)
.long(options::RAW)
.help("emit a raw binary digest, not hexadecimal")
.action(ArgAction::SetTrue),
.long(options::RAW)
.help("emit a raw binary digest, not hexadecimal")
.action(ArgAction::SetTrue),
)
.arg(
Arg::new(options::BASE64)
.long(options::BASE64)
.short('b')
.help("emit a base64 digest, not hexadecimal")
.action(ArgAction::SetTrue)
// Even though this could easily just override an earlier '--raw',
// GNU cksum does not permit these flags to be combined:
.conflicts_with(options::RAW),
.long(options::BASE64)
.short('b')
.help("emit a base64 digest, not hexadecimal")
.action(ArgAction::SetTrue)
// Even though this could easily just override an earlier '--raw',
// GNU cksum does not permit these flags to be combined:
.conflicts_with(options::RAW),
)
.after_help(AFTER_HELP)
}

0 comments on commit 415de28

Please sign in to comment.