Merge pull request from cakebaker/lscpu_remove_underscore_from_var_name

lscpu: remove underscore-prefix from var name
This commit is contained in:
Sylvestre Ledru 2025-01-29 17:30:50 +01:00 committed by GitHub
commit 25c6dac67b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -14,9 +14,9 @@ const USAGE: &str = help_usage!("lscpu.md");
#[uucore::main]
pub fn uumain(args: impl uucore::Args) -> UResult<()> {
let _matches: clap::ArgMatches = uu_app().try_get_matches_from(args)?;
let matches: clap::ArgMatches = uu_app().try_get_matches_from(args)?;
let system = System::new_all();
let hex = _matches.get_flag(options::HEX);
let hex = matches.get_flag(options::HEX);
println!("Architecture: {}", get_architecture());
if hex {