bash-completion: networkctl: support --full and --lines

This commit is contained in:
Yu Watanabe 2020-01-09 20:21:28 +09:00 committed by Lennart Poettering
parent 404308486a
commit 0ca1926ec3
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ _networkctl() {
local i verb comps
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
local -A OPTS=(
[STANDALONE]='-a --all -h --help --version --no-pager --no-legend -s --stats'
[ARG]=''
[STANDALONE]='-a --all -h --help --version --no-pager --no-legend -s --stats -l --full'
[ARG]='-n --lines'
)
local -A VERBS=(