bash-completion: networkctl: support --full and --lines
This commit is contained in:
parent
404308486a
commit
0ca1926ec3
|
@ -32,8 +32,8 @@ _networkctl() {
|
||||||
local i verb comps
|
local i verb comps
|
||||||
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
|
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
|
||||||
local -A OPTS=(
|
local -A OPTS=(
|
||||||
[STANDALONE]='-a --all -h --help --version --no-pager --no-legend -s --stats'
|
[STANDALONE]='-a --all -h --help --version --no-pager --no-legend -s --stats -l --full'
|
||||||
[ARG]=''
|
[ARG]='-n --lines'
|
||||||
)
|
)
|
||||||
|
|
||||||
local -A VERBS=(
|
local -A VERBS=(
|
||||||
|
|
Loading…
Reference in a new issue