mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
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.
This commit is contained in:
parent
1f9d4cbe93
commit
74c724db05
1 changed files with 4 additions and 4 deletions
|
|
@ -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:' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue