From 5703301ada97d43bfdf8b4f5379c6070ef96e078 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 19 Aug 2024 11:36:22 +0900 Subject: resolvectl: introduce --no-ask-password option --- shell-completion/bash/resolvectl | 2 +- shell-completion/zsh/_resolvectl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'shell-completion') 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' -- cgit v1.2.3