diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-08-19 04:28:22 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-08-19 04:28:22 +0200 |
commit | 21f31f23cc15c0957c1e0adec36f74ad8892c6ef (patch) | |
tree | 4f8755fac2e5d6ca8575bad99868cf5cba22aa7c /shell-completion | |
parent | networkctl: enable interactive authentication for dbus method call (diff) | |
download | systemd-21f31f23cc15c0957c1e0adec36f74ad8892c6ef.tar.xz systemd-21f31f23cc15c0957c1e0adec36f74ad8892c6ef.zip |
networkctl: introduce --no-ask-password option
Diffstat (limited to 'shell-completion')
-rw-r--r-- | shell-completion/bash/networkctl | 4 | ||||
-rw-r--r-- | shell-completion/zsh/_networkctl | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/shell-completion/bash/networkctl b/shell-completion/bash/networkctl index 6c9daa7659..04f54e0e92 100644 --- a/shell-completion/bash/networkctl +++ b/shell-completion/bash/networkctl @@ -44,8 +44,8 @@ _networkctl() { local i verb comps local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} words cword local -A OPTS=( - [STANDALONE]='-a --all -h --help --version --no-pager --no-legend -s --stats -l --full - --no-reload --runtime' + [STANDALONE]='-a --all -h --help --version --no-pager --no-legend --no-ask-password + -s --stats -l --full --no-reload --runtime' [ARG]='-n --lines --json --drop-in' ) diff --git a/shell-completion/zsh/_networkctl b/shell-completion/zsh/_networkctl index ad5b91fb83..cf072c0fcb 100644 --- a/shell-completion/zsh/_networkctl +++ b/shell-completion/zsh/_networkctl @@ -52,6 +52,7 @@ _arguments \ '(-a --all)'{-a,--all}'[Show all links with status]' \ '--no-pager[Do not pipe output into a pager]' \ '--no-legend[Do not print the column headers]' \ + '--no-ask-password[Do not prompt for password]' \ '(- *)'{-h,--help}'[Show this help]' \ '(- *)--version[Show package version]' \ '--drop-in=[Use the given drop-in file name]:NAME' \ |