diff options
author | Peter Meerwald <p.meerwald@bct-electronic.com> | 2014-10-30 16:00:41 +0100 |
---|---|---|
committer | Peter Meerwald <pmeerw@pmeerw.net> | 2014-11-04 22:22:19 +0100 |
commit | 6d1fd4d1aab38a18925972f11face92ea602adf0 (patch) | |
tree | 0f888f0f3bdcb33501f6ebeaae8b1de37626e165 /shell-completion | |
parent | 31d5acdc787051372d4a64e25b6e91dc9b2d1011 (diff) |
pactl: Remove deprecated 'stat' behaviour
the stat command should only output statistics, not info
behaviour was deprecated anno 2011 in 8ace9185 "pactl: Make stat backwards
compatible" -- fix this now
v2: (thanks Tanu Kaskinen):
* adjust shell completion
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Diffstat (limited to 'shell-completion')
-rw-r--r-- | shell-completion/bash/pulseaudio | 2 | ||||
-rw-r--r-- | shell-completion/zsh/_pulseaudio | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/shell-completion/bash/pulseaudio b/shell-completion/bash/pulseaudio index 7775b0829..4d7e0b80f 100644 --- a/shell-completion/bash/pulseaudio +++ b/shell-completion/bash/pulseaudio @@ -179,8 +179,6 @@ _pactl() { case $prev in list) COMPREPLY=($(compgen -W '${list_types[*]}' -- "$cur")) ;; - stat) COMPREPLY=($(compgen -W 'short' -- "$cur")) ;; - upload-sample) _filedir ;; play-sample) ;; # TODO diff --git a/shell-completion/zsh/_pulseaudio b/shell-completion/zsh/_pulseaudio index cbccaf243..b8dd5935b 100644 --- a/shell-completion/zsh/_pulseaudio +++ b/shell-completion/zsh/_pulseaudio @@ -465,7 +465,6 @@ _pactl_completion() { _command=$words[1] case $_command in - stat) if ((CURRENT == 2)); then compadd short; fi;; list) _list_parameter;; upload-sample) if ((CURRENT == 2)); then _files; fi;; play-sample) _play_sample_parameter;; |