bash-completion: support --stats/-s option of networkctl

This commit is contained in:
Yu Watanabe 2019-05-25 00:40:38 +09:00
parent a459b24f7e
commit 94a58cc1f9

View file

@ -32,7 +32,7 @@ _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'
[STANDALONE]='-a --all -h --help --version --no-pager --no-legend -s --stats'
[ARG]=''
)