Skip to content

Commit

Permalink
Merge pull request #208 from cakebaker/lscpu_remove_underscore_from_v…
Browse files Browse the repository at this point in the history
…ar_name

lscpu: remove underscore-prefix from var name
  • Loading branch information
sylvestre authored Jan 29, 2025
2 parents 590c086 + c9cf60c commit 25c6dac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/uu/lscpu/src/lscpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 25c6dac

Please sign in to comment.