summaryrefslogtreecommitdiff
path: root/netsniff-ng.zsh
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2018-12-02 19:20:59 +0100
committerTobias Klauser <tklauser@distanz.ch>2018-12-02 19:20:59 +0100
commite479e78e9e4408a19c16e5622ca4f66363005981 (patch)
treeb0adee72456878da9575351fde5e6395e0911a8d /netsniff-ng.zsh
parentc2e7dfc43d7f1ade191f286b93d463d1f98f4d3b (diff)
zsh: netsniff-ng: add completion for --overwrite
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'netsniff-ng.zsh')
-rw-r--r--netsniff-ng.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/netsniff-ng.zsh b/netsniff-ng.zsh
index f658811..65bda6f 100644
--- a/netsniff-ng.zsh
+++ b/netsniff-ng.zsh
@@ -59,6 +59,7 @@ _arguments -s -S \
"(-S --ring-size)"{-S,--ring-size}"[Specify ring size to: <num>KiB/MiB/GiB]:ringsize:" \
"(-k --kernel-pull)"{-k,--kernel-pull}"[Kernel pull from user interval in us (def: 10us)]:kernelpull:_gnu_generic" \
"(-b --bind-cpu)"{-b,--bind-cpu}"[Bind to specific CPU]:cpunum:_cpu" \
+ "(-O --overwrite"{-O,--overwrite}"[Limit the number of pcaps]:filecount:" \
"(-u --user)"{-u,--user}"[Drop privileges and change to userid]:user:_user_info" \
"(-g --group)"{-g,--group}"[Drop privileges and change to groupid]:group:_group_info" \
"(-H --prio-high)"{-H,--prio-high}"[Make this high priority process]" \