summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2020-01-18 11:15:58 +0100
committerGitHub <noreply@github.com>2020-01-18 11:15:58 +0100
commit8a3bb698e207cc6775718efd85e1783c80b667af (patch)
tree89c0833b47f1a0efd3815660cc29e0961573f341
parentde92ecddc9559df16ec9fc2466ae9aa3572529d2 (diff)
fix(cli): collect table args (#134)
-rw-r--r--src/main.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 1e35289..e46054c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -50,8 +50,14 @@ pub struct Opt {
#[derive(StructOpt, Debug)]
pub struct RenderOpts {
+ #[structopt(short, long)]
+ /// Show processes table only
processes: bool,
+ #[structopt(short, long)]
+ /// Show connections table only
connections: bool,
+ #[structopt(short, long)]
+ /// Show remote addresses table only
addresses: bool,
}