diff options
| author | Tobias Klauser <tklauser@distanz.ch> | 2014-03-23 13:51:58 +0100 | 
|---|---|---|
| committer | Tobias Klauser <tklauser@distanz.ch> | 2014-03-23 13:51:58 +0100 | 
| commit | 110c9faccb7bd528d67c202721f33d9fd382a19a (patch) | |
| tree | 80a4b9f60e8677f4f513c72bea8caea0b3cfbbc8 | |
| parent | 7130cc471492e5c5cd1fccbb782bee65a8096d9d (diff) | |
zsh: Unify completion help messages for --version and --help
| -rw-r--r-- | astraceroute.zsh | 4 | ||||
| -rw-r--r-- | bpfc.zsh | 4 | ||||
| -rw-r--r-- | flowtop.zsh | 4 | ||||
| -rw-r--r-- | ifpps.zsh | 4 | ||||
| -rw-r--r-- | mausezahn.zsh | 4 | ||||
| -rw-r--r-- | netsniff-ng.zsh | 2 | ||||
| -rw-r--r-- | trafgen.zsh | 2 | 
7 files changed, 12 insertions, 12 deletions
| diff --git a/astraceroute.zsh b/astraceroute.zsh index fdcc495..4c65794 100644 --- a/astraceroute.zsh +++ b/astraceroute.zsh @@ -43,6 +43,6 @@ _arguments -s -S \      "(-X --payload)"{-X,--payload}"[Specify a payload string to test DPIs]:string:_gnu_generic" \      "(-Z --show-packet)"{-Z,--show-packet}"[Show returned packet on each hop]" \      "(-l --totlen)"{-l,--totlen}"[Specify total packet len]:lengths:_gnu_generic" \ -    {-v,--version}"[Print version]:" \ -    {-h,--help}"[Print this help]:" \ +    {-v,--version}"[Print version and exit]:" \ +    {-h,--help}"[Print help and exit]:" \      "*::args:_gnu_generic" @@ -17,6 +17,6 @@ _arguments -s -S \      "(-b --bypass)"{-b,--bypass}"[Bypass filter validation (e.g. for bug testing)]" \      "(-d --dump)"{-d,--dump}"[Dump supported instruction table]" \      "(-V --verbose)"{-V,--verbose}"[Be more verbose]" \ -    {-v,--version}"[Print version]:" \ -    {-h,--help}"[Print this help]:" \ +    {-v,--version}"[Print version and exit]:" \ +    {-h,--help}"[Print help and exit]:" \      "*::args:_gnu_generic" diff --git a/flowtop.zsh b/flowtop.zsh index 878931c..c85c029 100644 --- a/flowtop.zsh +++ b/flowtop.zsh @@ -20,6 +20,6 @@ _arguments -s -S \      "(-S --sctp)"{-S,--sctp}"[Show only SCTP flows]" \      "(-s --show-src)"{-s,--show-src}"[Also show source, not only dest]" \      "(-u --update)"{-u,--update}"[Update GeoIP databases]" \ -    {-v,--version}"[Print version]:" \ -    {-h,--help}"[Print this help]:" \ +    {-v,--version}"[Print version and exit]:" \ +    {-h,--help}"[Print help and exit]:" \      "*::args:_gnu_generic" @@ -27,6 +27,6 @@ _arguments -s -S \      "(-o --omit-header)"{-o,--omit-header}"[Do not print the CSV header]" \      "(-m --median)"{-m,--median}"[Display median values]" \      "(-W --no-warn)"{-W,--no-warn}"[Suppress warnings]" \ -    {-v,--version}"[Print version]:" \ -    {-h,--help}"[Print this help]:" \ +    {-v,--version}"[Print version and exit]:" \ +    {-h,--help}"[Print help and exit]:" \      "*::args:_gnu_generic" diff --git a/mausezahn.zsh b/mausezahn.zsh index 95a9e35..b6934db 100644 --- a/mausezahn.zsh +++ b/mausezahn.zsh @@ -62,6 +62,6 @@ _arguments -s -S \      "(-V -VV -VVV)"{-V,-VV,-VVV}"[Verbose and more verbose mode]" \      "-q[Quiet mode, even omit 'important' standard short messages]" \      "-S[Simulation mode: DOES NOT put anything on the wire, this is typically combined with one of the verbose modes (v or V)]" \ -    "-v[Show version]:" \ -    "-h[Print this help]:" \ +    "-v[Show version and exit]:" \ +    "-h[Print help and exit]:" \      "*::args:_gnu_generic" diff --git a/netsniff-ng.zsh b/netsniff-ng.zsh index 122d661..682d66d 100644 --- a/netsniff-ng.zsh +++ b/netsniff-ng.zsh @@ -64,6 +64,6 @@ _arguments -s -S \      "(-l --ascii)"{-l,--ascii}"[Print human-readable packet data]" \      "(-U --update)"{-U,--update}"[Update GeoIP databases]" \      "(-V --verbose)"{-V,--verbose}"[Be more verbose]" \ -    {-v,--version}"[Show version]:" \ +    {-v,--version}"[Show version and exit]:" \      {-h,--help}"[Guess what?!]:" \      "*::args:_gnu_generic" diff --git a/trafgen.zsh b/trafgen.zsh index adfd8ad..6ebcda1 100644 --- a/trafgen.zsh +++ b/trafgen.zsh @@ -53,6 +53,6 @@ _arguments -s -S \      "(-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]" \ -    {-v,--version}"[Show version]:" \ +    {-v,--version}"[Show version and exit]:" \      {-h,--help}"[Guess what?!]:" \      "*::args:_gnu_generic" | 
