Skip to content

Commit 590c086

Browse files
authored
Merge pull request #207 from cakebaker/lscpu_fix_formatting
lscpu: fix code formatting & remove sentence from help text
2 parents 9b8f231 + 3fde4a5 commit 590c086

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

src/uu/lscpu/src/lscpu.rs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,16 @@ pub fn uu_app() -> Command {
5656
.version(crate_version!())
5757
.about(ABOUT)
5858
.override_usage(format_usage(USAGE))
59-
.infer_long_args(true).arg(Arg::new(options::HEX).short('x').long("hex").action(ArgAction::SetTrue).help("Use hexadecimal masks for CPU sets (for example 'ff'). The default is to print the
60-
sets in list format (for example 0,1). Note that before version 2.30 the mask has been
61-
printed with 0x prefix.").required(false))
59+
.infer_long_args(true)
60+
.arg(
61+
Arg::new(options::HEX)
62+
.short('x')
63+
.long("hex")
64+
.action(ArgAction::SetTrue)
65+
.help(
66+
"Use hexadecimal masks for CPU sets (for example 'ff'). \
67+
The default is to print the sets in list format (for example 0,1).",
68+
)
69+
.required(false),
70+
)
6271
}

0 commit comments

Comments
 (0)