From 27fc7a77686cb73bbf1af98ad9eaa32215eb9d39 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Tue, 22 Nov 2022 05:12:35 -0500 Subject: [PATCH] other: change non-normalized shortcut (#912) --- src/clap.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/clap.rs b/src/clap.rs index 9163cf7e..19922458 100644 --- a/src/clap.rs +++ b/src/clap.rs @@ -85,6 +85,7 @@ pub fn get_matches() -> clap::ArgMatches { } // TODO: Refactor this a bit, it's quite messy atm +// TODO: [DEBUG] Add a proper debugging solution. pub fn build_app() -> Command<'static> { // Temps let kelvin = Arg::new("kelvin") @@ -136,15 +137,13 @@ pub fn build_app() -> Command<'static> { .long_help("Sets process CPU% usage to be based on the current system CPU% usage rather than total CPU usage."); let unnormalized_cpu = Arg::new("unnormalized_cpu") - .short('p') + .short('n') .long("unnormalized_cpu") .help("Show process CPU% without normalizing over the number of cores.") .long_help( "Shows process CPU usage without averaging over the number of CPU cores in the system.", ); - // TODO: [DEBUG] Add a proper debugging solution. - let disable_click = Arg::new("disable_click") .long("disable_click") .help("Disables mouse clicks.")