diff options
author | Luca Boccassi <luca.boccassi@microsoft.com> | 2020-01-23 16:50:15 +0000 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-02-07 17:09:05 +0100 |
commit | e2c1ddcc492f7d94fd0bdaec719916c62787be44 (patch) | |
tree | 5691c9b7454a665a524dbcb64e9298a168b5b9aa /shell-completion | |
parent | c3b41d8811317aa47cc6090809df1740838960d0 (diff) | |
download | systemd-e2c1ddcc492f7d94fd0bdaec719916c62787be44.tar.gz |
portablectl: add --now and --enable to attach/detach
Add shortcuts to enable and start, or disable and stop, portable
services with a single portablectl command.
Allow to pass a filter on detach, as it's necessary to call
GetImageMetadata to get the unit names associated with an image.
Fixes #10232
Diffstat (limited to 'shell-completion')
-rw-r--r-- | shell-completion/bash/portablectl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/portablectl b/shell-completion/bash/portablectl index b60d8c5c4b..0b84d5c834 100644 --- a/shell-completion/bash/portablectl +++ b/shell-completion/bash/portablectl @@ -34,7 +34,7 @@ _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 -h --help --version' + --no-ask-password --enable --now -h --help --version' [ARG]='-p --profile --copy -H --host -M --machine' ) |