Skip to content

Commit

Permalink
Merge pull request #207 from cakebaker/lscpu_fix_formatting
Browse files Browse the repository at this point in the history
lscpu: fix code formatting & remove sentence from help text
  • Loading branch information
sylvestre authored Jan 29, 2025
2 parents 9b8f231 + 3fde4a5 commit 590c086
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/uu/lscpu/src/lscpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,16 @@ pub fn uu_app() -> Command {
.version(crate_version!())
.about(ABOUT)
.override_usage(format_usage(USAGE))
.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
sets in list format (for example 0,1). Note that before version 2.30 the mask has been
printed with 0x prefix.").required(false))
.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 sets in list format (for example 0,1).",
)
.required(false),
)
}

0 comments on commit 590c086

Please sign in to comment.