1
0
mirror of https://github.com/systemd/systemd synced 2024-07-08 20:15:55 +00:00

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
--no-pager
--no-legend
--no-reload
--force'
[ARG]='--root
--json'
--json
--noexec
--image-policy'
)
local -A VERBS=(
@ -54,6 +57,12 @@ _systemd-confext() {
--json)
comps='pretty short off'
;;
--noexec)
comps='false true'
;;
--image-policy)
comps=''
;;
esac
COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
return 0