summaryrefslogtreecommitdiff
path: root/shell-completion/bash
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-23 23:49:46 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-24 00:25:04 -0400
commitafba41995de65d8f378b138ea6d9804be32625a3 (patch)
treee88a5656ef8671ebcf1a500dd04697bae2e3b938 /shell-completion/bash
parenta6b26d9011de60e1c41f51e8d2aab1d2f7bbf0f5 (diff)
systemctl: show reverse dependencies or before/after ordering
Also update completion scripts a bit.
Diffstat (limited to 'shell-completion/bash')
-rw-r--r--shell-completion/bash/systemctl4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell-completion/bash/systemctl b/shell-completion/bash/systemctl
index f5829b72f8..191b8d13ec 100644
--- a/shell-completion/bash/systemctl
+++ b/shell-completion/bash/systemctl
@@ -70,7 +70,7 @@ _systemctl () {
local i verb comps mode
local -A OPTS=(
- [STANDALONE]='--all -a --defaults --fail --ignore-dependencies --failed --force -f --full --global
+ [STANDALONE]='--all -a --reverse --after --before --defaults --fail --ignore-dependencies --failed --force -f --full --global
--help -h --no-ask-password --no-block --no-legend --no-pager --no-reload --no-wall
--quiet -q --privileged -P --system --user --version --runtime'
[ARG]='--host -H --kill-mode --kill-who --property -p --signal -s --type -t --root'
@@ -117,7 +117,7 @@ _systemctl () {
fi
local -A VERBS=(
- [ALL_UNITS]='is-active is-failed is-enabled status show mask preset help'
+ [ALL_UNITS]='is-active is-failed is-enabled status show mask preset help list-dependencies'
[ENABLED_UNITS]='disable'
[DISABLED_UNITS]='enable'
[REENABLABLE_UNITS]='reenable'