shell-completion: dump has moved to systemd-analyze

Rename NO_OPTION to STANDALONE for consistency with other files.

Conflicts:
	shell-completion/zsh/_systemctl
	shell-completion/zsh/_systemd-analyze
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2013-10-21 17:06:01 -04:00
parent 86669f78ec
commit f1ba71e2ef
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ _systemctl () {
[JOBS]='cancel'
[SNAPSHOTS]='delete'
[ENVS]='set-environment unset-environment'
[STANDALONE]='daemon-reexec daemon-reload default dump
[STANDALONE]='daemon-reexec daemon-reload default
emergency exit halt hibernate hybrid-sleep kexec list-jobs
list-sockets list-units list-unit-files poweroff reboot rescue
show-environment suspend'
+2 -2
View File
@@ -30,7 +30,7 @@ _systemd_analyze() {
local OPTS='--help --version --system --user --from-pattern --to-pattern --order --require'
local -A VERBS=(
[NO_OPTION]='time blame plot'
[STANDALONE]='time blame plot dump'
[CRITICAL_CHAIN]='critical-chain'
[DOT]='dot'
)
@@ -53,7 +53,7 @@ _systemd_analyze() {
if [[ -z $verb ]]; then
comps=${VERBS[*]}
elif __contains_word "$verb" ${VERBS[NO_OPTION]}; then
elif __contains_word "$verb" ${VERBS[STANDALONE]}; then
if [[ $cur = -* ]]; then
comps='--help --version --system --user'
fi