mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-10 14:44:18 +00:00
other: change non-normalized shortcut (#912)
This commit is contained in:
parent
a0eebf3acb
commit
27fc7a7768
1 changed files with 2 additions and 3 deletions
|
@ -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.")
|
||||
|
|
Loading…
Reference in a new issue