diff options
author | Christian Rebischke <Chris.Rebischke@posteo.de> | 2016-06-06 17:06:20 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-06-06 17:06:20 +0200 |
commit | b2bb19bbda8f5ab3ab497165bc52a0ef952348c4 (patch) | |
tree | 3e9ec474a8e9513243b4a40c6562976de39c7b99 /shell-completion | |
parent | 45819e7cbfe5bd9044faca0f1e6e1145d7c0cfaa (diff) |
machinectl: Added stop as alias for poweroff (#3406)
Diffstat (limited to 'shell-completion')
-rw-r--r-- | shell-completion/bash/machinectl | 2 | ||||
-rw-r--r-- | shell-completion/zsh/_machinectl | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/shell-completion/bash/machinectl b/shell-completion/bash/machinectl index e7829ca968..aebe48304d 100644 --- a/shell-completion/bash/machinectl +++ b/shell-completion/bash/machinectl @@ -41,7 +41,7 @@ _machinectl() { local -A VERBS=( [STANDALONE]='list list-images pull-tar pull-raw import-tar import-raw export-tar export-raw list-transfers cancel-transfer' - [MACHINES]='status show start login shell enable disable poweroff reboot terminate kill copy-to copy-from image-status show-image clone rename read-only remove set-limit' + [MACHINES]='status show start stop login shell enable disable poweroff reboot terminate kill copy-to copy-from image-status show-image clone rename read-only remove set-limit' ) _init_completion || return diff --git a/shell-completion/zsh/_machinectl b/shell-completion/zsh/_machinectl index 198fa28f7b..92d77109a5 100644 --- a/shell-completion/zsh/_machinectl +++ b/shell-completion/zsh/_machinectl @@ -23,6 +23,7 @@ _available_machines() { "status:Show VM/container status" "show:Show properties of one or more VMs/containers" "start:Start container as a service" + "stop:Stop container (equal to poweroff)" "login:Get a login prompt on a VM/container" "enable:Enable automatic container start at boot" "disable:Disable automatic container start at boot" |