summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>2014-08-16 14:48:16 +0300
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>2014-08-17 09:20:51 +0300
commit74c724db05f278650bff95d9a937c687c8e25373 (patch)
tree62fb0c95b6947f2d561850b960a7a4a5fb2707d5 /shell-completion
parent1f9d4cbe933fd06e0a89cae6a64580bc8e576e30 (diff)
shell-completion: zsh: Don't say "this help" when it's a different help
The option descriptions that Zsh prints are not the same thing as the help text that pactl, pacmd etc. print when given --help.
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/zsh/_pulseaudio8
1 files changed, 4 insertions, 4 deletions
diff --git a/shell-completion/zsh/_pulseaudio b/shell-completion/zsh/_pulseaudio
index 6ff8ec132..d58ab479c 100644
--- a/shell-completion/zsh/_pulseaudio
+++ b/shell-completion/zsh/_pulseaudio
@@ -277,7 +277,7 @@ _pactl_completion() {
_arguments -C \
- '(help)' \
- {-h,--help}'[display this help and exit]' \
+ {-h,--help}'[display help and exit]' \
'--version[show version and exit]' \
- '(server)' \
{-s,--server}'[name of server to connect to]:host:_hosts' \
@@ -376,7 +376,7 @@ _pacmd_completion() {
_arguments -C \
- '(help)' \
- {-h,--help}'[display this help and exit]' \
+ {-h,--help}'[display help and exit]' \
'--version[show version and exit]' \
'::pacmd commands:_pacmd_command' \
@@ -410,14 +410,14 @@ _pacmd_completion() {
_pasuspender_completion() {
_arguments -C \
- {-h,--help}'[display this help and exit]' \
+ {-h,--help}'[display help and exit]' \
'--version[show version and exit]' \
{-s,--server}'[name of server to connect to]:host:_hosts' \
}
_padsp_completion() {
_arguments -C \
- '-h[display this help and exit]' \
+ '-h[display help and exit]' \
'-s[name of server to connect to]:host:_hosts' \
'-n[client name to use]:name:' \
'-m[stream name to use]:name:' \