summaryrefslogtreecommitdiffstats
path: root/shell-completion
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2024-04-08 02:34:12 +0200
committerLuca Boccassi <bluca@debian.org>2024-04-18 11:47:29 +0200
commit966d7977c755326bf0b7f0954213cb0477ed2cde (patch)
treea07e4bf268aadf4b2b8e0851cfcd2e0fc66bc925 /shell-completion
parentMerge pull request #32324 from mrc0mmand/more-website-fixes (diff)
downloadsystemd-966d7977c755326bf0b7f0954213cb0477ed2cde.tar.xz
systemd-966d7977c755326bf0b7f0954213cb0477ed2cde.zip
portablectl: add --clean parameter for detaching
Calls CleanUnit on each portable service being removed, after it has stopped
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/portablectl3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell-completion/bash/portablectl b/shell-completion/bash/portablectl
index 61a9610aa3..cd6db324fc 100644
--- a/shell-completion/bash/portablectl
+++ b/shell-completion/bash/portablectl
@@ -36,7 +36,8 @@ _portablectl() {
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
local -A OPTS=(
[STANDALONE]='-q --quiet --runtime --no-reload --cat --no-pager --no-legend
- --no-ask-password --enable --now -h --help --version'
+ --no-ask-password --enable --now -h --help --version
+ --clean'
[ARG]='-p --profile --copy -H --host -M --machine --extension'
)