mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-10-13 04:39:19 +00:00
fmt
This commit is contained in:
1 file changed
+4
-5
+4
-5
@@ -427,11 +427,10 @@ pub(crate) fn init_app(args: BottomArgs, config: Config) -> Result<(App, BottomL
|
||||
// For now, forbid a standalone count column as a proc column since it doesn't
|
||||
// make sense to have it standalone...
|
||||
if let Some(proc_columns) = &proc_columns
|
||||
&& proc_columns.contains(&ProcColumn::Count) {
|
||||
anyhow::bail!(
|
||||
"'count' is not currently supported as a standalone process column option"
|
||||
);
|
||||
}
|
||||
&& proc_columns.contains(&ProcColumn::Count)
|
||||
{
|
||||
anyhow::bail!("'count' is not currently supported as a standalone process column option");
|
||||
}
|
||||
|
||||
let network_legend_position = get_network_legend_position(args, config)?;
|
||||
let memory_legend_position = get_memory_legend_position(args, config)?;
|
||||
|
||||
Reference in new issue
Block a user