summaryrefslogtreecommitdiffstats
path: root/shell-completion
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/networkctl4
-rw-r--r--shell-completion/zsh/_networkctl1
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' \