bash-completion: add missing option to systemd-confext

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin 2023-12-21 23:23:13 +02:00
parent bd97ae259d
commit 8546a4af00
No known key found for this signature in database
GPG key ID: 02A0AF503D120504

View file

@ -30,9 +30,12 @@ _systemd-confext() {
[STANDALONE]='-h --help --version [STANDALONE]='-h --help --version
--no-pager --no-pager
--no-legend --no-legend
--no-reload
--force' --force'
[ARG]='--root [ARG]='--root
--json' --json
--noexec
--image-policy'
) )
local -A VERBS=( local -A VERBS=(
@ -54,6 +57,12 @@ _systemd-confext() {
--json) --json)
comps='pretty short off' comps='pretty short off'
;; ;;
--noexec)
comps='false true'
;;
--image-policy)
comps=''
;;
esac esac
COMPREPLY=( $(compgen -W '$comps' -- "$cur") ) COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
return 0 return 0