From 3e70821c43be7a68721f36719e97567ee0b04574 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter <daniel.hofstetter@42dh.com> Date: Wed, 29 Jan 2025 16:40:37 +0100 Subject: [PATCH] lscpu: fix code formatting --- src/uu/lscpu/src/lscpu.rs | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/uu/lscpu/src/lscpu.rs b/src/uu/lscpu/src/lscpu.rs index b0fc034..a63a807 100644 --- a/src/uu/lscpu/src/lscpu.rs +++ b/src/uu/lscpu/src/lscpu.rs @@ -56,7 +56,17 @@ 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). \ + Note that before version 2.30 the mask has been printed with 0x prefix.", + ) + .required(false), + ) }