Skip to content

Commit

Permalink
lscpu: remove underscore-prefix from var name
Browse files Browse the repository at this point in the history
  • Loading branch information
cakebaker committed Jan 29, 2025
1 parent 9b8f231 commit c9cf60c
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 c9cf60c

Please sign in to comment.