Skip to content

Commit 3e70821

Browse files
committed
lscpu: fix code formatting
1 parent 9b8f231 commit 3e70821

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

src/uu/lscpu/src/lscpu.rs

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,17 @@ 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+
Note that before version 2.30 the mask has been printed with 0x prefix.",
69+
)
70+
.required(false),
71+
)
6272
}

0 commit comments

Comments
 (0)