summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2022-11-22 05:12:35 -0500
committerGitHub <noreply@github.com>2022-11-22 05:12:35 -0500
commit27fc7a77686cb73bbf1af98ad9eaa32215eb9d39 (patch)
tree32c0479b470913198b0f5e7883be5364243de53a
parenta0eebf3acb686a0fb4e6c1d200800ee393a0a463 (diff)
other: change non-normalized shortcut (#912)
-rw-r--r--src/clap.rs5
1 files 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.")