diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-08-19 04:36:22 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-08-19 04:36:22 +0200 |
commit | 5703301ada97d43bfdf8b4f5379c6070ef96e078 (patch) | |
tree | 9017666d0a6d302b9a747518ff9c963dbd1a4dbc /shell-completion | |
parent | resolvectl: enable interactive authentication for dbus method call (diff) | |
download | systemd-5703301ada97d43bfdf8b4f5379c6070ef96e078.tar.xz systemd-5703301ada97d43bfdf8b4f5379c6070ef96e078.zip |
resolvectl: introduce --no-ask-password option
Diffstat (limited to 'shell-completion')
-rw-r--r-- | shell-completion/bash/resolvectl | 2 | ||||
-rw-r--r-- | shell-completion/zsh/_resolvectl | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/shell-completion/bash/resolvectl b/shell-completion/bash/resolvectl index 344eaad973..5f2102ccba 100644 --- a/shell-completion/bash/resolvectl +++ b/shell-completion/bash/resolvectl @@ -38,7 +38,7 @@ _resolvectl() { [STANDALONE]='-h --help --version -4 -6 --legend=no --cname=no --validate=no --synthesize=no --cache=no --relax-single-label=no --zone=no --trust-anchor=no --network=no --service-address=no - --service-txt=no --search=no --stale-data=no --no-pager' + --service-txt=no --search=no --stale-data=no --no-pager --no-ask-password' [ARG]='-t --type -c --class -i --interface -p --protocol --raw --json' ) local -A VERBS=( diff --git a/shell-completion/zsh/_resolvectl b/shell-completion/zsh/_resolvectl index 4ca469adcf..c779f73ff3 100644 --- a/shell-completion/zsh/_resolvectl +++ b/shell-completion/zsh/_resolvectl @@ -94,4 +94,6 @@ _arguments \ '--search=[Do not use search domains]:BOOL:(yes no)' \ '--raw=[Dump the answer as binary data]:RAW:(payload packet)' \ '--json=[Output as JSON]:JSON:(pretty short off)' \ + '--no-pager[Do not pipe output into a pager]' \ + '--no-ask-password[Do not prompt for password]' \ '*::default: _resolvectl_commands' |