summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-12-13 18:46:31 +0100
committerTobias Klauser <tklauser@distanz.ch>2016-12-13 18:46:31 +0100
commit57739dfaa8bd88160fadcb34cea543c832a3b265 (patch)
tree962f20ef147c075b3d715cc2a6565b1b2b3d7579
parent0a9adf482d5bb2cf27ede0f970228b9f69145f4d (diff)
zsh: trafgen: Add missing option -q/--qdisc-path to zsh completion
Also sightly adjust the description in the usage text. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--trafgen.c2
-rw-r--r--trafgen.zsh1
2 files changed, 2 insertions, 1 deletions
diff --git a/trafgen.c b/trafgen.c
index efd83ef..524b260 100644
--- a/trafgen.c
+++ b/trafgen.c
@@ -204,7 +204,7 @@ static void __noreturn help(void)
" -H|--prio-high Make this high priority process\n"
" -A|--no-sock-mem Don't tune core socket memory\n"
" -Q|--notouch-irq Do not touch IRQ CPU affinity of NIC\n"
- " -q|--qdisc-path Enabled qdisc kernel path (default off since 3.14)\n"
+ " -q|--qdisc-path Enable qdisc kernel path (default off since 3.14)\n"
" -V|--verbose Be more verbose\n"
" -C|--no-cpu-stats Do not print CPU time statistics on exit\n"
" -v|--version Show version and exit\n"
diff --git a/trafgen.zsh b/trafgen.zsh
index 2fba722..5ab99fd 100644
--- a/trafgen.zsh
+++ b/trafgen.zsh
@@ -52,6 +52,7 @@ _arguments -s -S \
"(-H --prio-high)"{-H,--prio-high}"[Make this high priority process]" \
"(-A --no-sock-mem)"{-A,--no-sock-mem}"[Do not change default socket memory setting]" \
"(-Q --notouch-irq)"{-Q,--notouch-irq}"[Do not touch IRQ CPU affinity of NIC]" \
+ "(-q --qdisc-path)"{-q,--qdisc-path}"[Enable qdisc kernel path (default off since 3.14)]" \
"(-e --example)"{-e,--example}"[Show built-in packet config example]:" \
"(-V --verbose)"{-V,--verbose}"[Be more verbose]" \
"(-C --no-cpu-stats)"{-C,--no-cpu-stats}"[Do not print CPU time statistics on exit]" \