diff --git a/src/options.rs b/src/options.rs index 7e8da0a7..53ccd223 100644 --- a/src/options.rs +++ b/src/options.rs @@ -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; } }