Skip to content

Commit 415de28

Browse files
Merge pull request #6192 from cakebaker/cksum_fix_formatting
cksum: fix code formatting
2 parents a370d15 + ac12957 commit 415de28

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

src/uu/cksum/src/cksum.rs

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -436,24 +436,27 @@ pub fn uu_app() -> Command {
436436
.long(options::LENGTH)
437437
.value_parser(value_parser!(usize))
438438
.short('l')
439-
.help("digest length in bits; must not exceed the max for the blake2 algorithm and must be a multiple of 8")
439+
.help(
440+
"digest length in bits; must not exceed the max for the blake2 algorithm \
441+
and must be a multiple of 8",
442+
)
440443
.action(ArgAction::Set),
441444
)
442445
.arg(
443446
Arg::new(options::RAW)
444-
.long(options::RAW)
445-
.help("emit a raw binary digest, not hexadecimal")
446-
.action(ArgAction::SetTrue),
447+
.long(options::RAW)
448+
.help("emit a raw binary digest, not hexadecimal")
449+
.action(ArgAction::SetTrue),
447450
)
448451
.arg(
449452
Arg::new(options::BASE64)
450-
.long(options::BASE64)
451-
.short('b')
452-
.help("emit a base64 digest, not hexadecimal")
453-
.action(ArgAction::SetTrue)
454-
// Even though this could easily just override an earlier '--raw',
455-
// GNU cksum does not permit these flags to be combined:
456-
.conflicts_with(options::RAW),
453+
.long(options::BASE64)
454+
.short('b')
455+
.help("emit a base64 digest, not hexadecimal")
456+
.action(ArgAction::SetTrue)
457+
// Even though this could easily just override an earlier '--raw',
458+
// GNU cksum does not permit these flags to be combined:
459+
.conflicts_with(options::RAW),
457460
)
458461
.after_help(AFTER_HELP)
459462
}

0 commit comments

Comments
 (0)