]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bash-completion: support --stats/-s option of networkctl
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 24 May 2019 15:40:38 +0000 (00:40 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 1 Jun 2019 01:24:47 +0000 (10:24 +0900)
shell-completion/bash/networkctl

index c4a51df6db16ca07ee3994ef7429bb37d4e0af7d..62beae140d2a9a90654b71d8065b0cb46b7386be 100644 (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]=''
     )