mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-23 04:33:10 +00:00
bug: Fix inverted hide_avg_cpu option in config (#327)
This commit is contained in:
parent
da27b69704
commit
a634934e3d
1 changed files with 1 additions and 1 deletions
|
@ -594,7 +594,7 @@ fn get_show_average_cpu(matches: &clap::ArgMatches<'static>, config: &Config) ->
|
|||
return false;
|
||||
} else if let Some(flags) = &config.flags {
|
||||
if let Some(avg_cpu) = flags.hide_avg_cpu {
|
||||
return avg_cpu;
|
||||
return !avg_cpu;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue