summaryrefslogtreecommitdiffstats
path: root/shell-completion/bash/systemd-confext
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/bash/systemd-confext')
-rw-r--r--shell-completion/bash/systemd-confext12
1 files changed, 11 insertions, 1 deletions
diff --git a/shell-completion/bash/systemd-confext b/shell-completion/bash/systemd-confext
index c8eca3b..d36f70f 100644
--- a/shell-completion/bash/systemd-confext
+++ b/shell-completion/bash/systemd-confext
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# systemd-confext(8) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
@@ -30,9 +31,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 +58,12 @@ _systemd-confext() {
--json)
comps='pretty short off'
;;
+ --noexec)
+ comps='false true'
+ ;;
+ --image-policy)
+ comps=''
+ ;;
esac
COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
return 0