shell-completion: Add list-cards to the pacmd completion.

The list-cards command was missing for both of the shell completions.
This fixes it.
This commit is contained in:
poljar (Damir Jelić) 2013-05-22 14:58:10 +02:00 committed by Arun Raghavan
parent b0ee51e19e
commit 126a80f3b9
2 changed files with 2 additions and 1 deletions

View file

@ -259,7 +259,7 @@ _pacmd() {
local cur prev words cword preprev command local cur prev words cword preprev command
local comps local comps
local flags='-h --help --version' local flags='-h --help --version'
local commands=(exit help list-modules list-sinks list-sources list-clients local commands=(exit help list-modules list-cards list-sinks list-sources list-clients
list-samples list-sink-inputs list-source-outputs stat info list-samples list-sink-inputs list-source-outputs stat info
load-module unload-module describe-module set-sink-volume load-module unload-module describe-module set-sink-volume
set-source-volume set-sink-input-volume set-source-output-volume set-source-volume set-sink-input-volume set-source-output-volume

View file

@ -329,6 +329,7 @@ _pacmd_completion() {
_pacmd_commands=( _pacmd_commands=(
'help: show help and exit' 'help: show help and exit'
'list-modules: list modules' 'list-modules: list modules'
'list-cards: list cards'
'list-sinks: list sinks' 'list-sinks: list sinks'
'list-sources: list sources' 'list-sources: list sources'
'list-clients: list clients' 'list-clients: list clients'