From 57739dfaa8bd88160fadcb34cea543c832a3b265 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 13 Dec 2016 18:46:31 +0100 Subject: 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 --- trafgen.c | 2 +- trafgen.zsh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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]" \ -- cgit v1.2.3-54-g00ecf