lscpu: fix code formatting

This commit is contained in:
Daniel Hofstetter 2025-01-29 16:40:37 +01:00
parent 9b8f231a5b
commit 3e70821c43

@ -56,7 +56,17 @@ pub fn uu_app() -> Command {
.version(crate_version!()) .version(crate_version!())
.about(ABOUT) .about(ABOUT)
.override_usage(format_usage(USAGE)) .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 .infer_long_args(true)
sets in list format (for example 0,1). Note that before version 2.30 the mask has been .arg(
printed with 0x prefix.").required(false)) 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),
)
} }