summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli.rs b/src/cli.rs
index d98b372..e466af9 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -2,7 +2,7 @@ use std::net::Ipv4Addr;
use clap::{Args, Parser};
-#[derive(Parser, Debug)]
+#[derive(Clone, Debug, Default, Parser)]
#[command(name = "bandwhich", version)]
pub struct Opt {
#[arg(short, long)]
@@ -29,7 +29,7 @@ pub struct Opt {
pub render_opts: RenderOpts,
}
-#[derive(Args, Debug, Copy, Clone)]
+#[derive(Copy, Clone, Debug, Default, Args)]
pub struct RenderOpts {
#[arg(short, long)]
/// Show processes table only