chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4160ec6
)
bash: Add host, privileged, and no-pager bash option completions.
author
Ville Skyttä
<ville.skytta@iki.fi>
Sat, 18 Jun 2011 10:56:12 +0000
(13:56 +0300)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 20 Jun 2011 15:56:07 +0000
(17:56 +0200)
src/systemctl-bash-completion.sh
patch
|
blob
|
history
diff --git
a/src/systemctl-bash-completion.sh
b/src/systemctl-bash-completion.sh
index dc18ab6ccea3fccdd68628a8b0901023d7c4c0dd..acdc0866cd0112b922a894303c4b30c864797d6e 100644
(file)
--- a/
src/systemctl-bash-completion.sh
+++ b/
src/systemctl-bash-completion.sh
@@
-43,9
+43,9
@@
_systemctl () {
local -A OPTS=(
[STANDALONE]='--all -a --defaults --fail --ignore-dependencies --failed --force -f --full --global
local -A OPTS=(
[STANDALONE]='--all -a --defaults --fail --ignore-dependencies --failed --force -f --full --global
- --help -h --no-ask-password --no-block --no-reload --no-wall
- --order --require --quiet -q --system --user --version'
- [ARG]='--kill-mode --kill-who --property -p --signal -s --type -t'
+ --help -h --no-ask-password --no-block --no-
pager --no-
reload --no-wall
+ --order --require --quiet -q --
privileged -P --
system --user --version'
+ [ARG]='--
host -H --
kill-mode --kill-who --property -p --signal -s --type -t'
)
if __contains_word "$prev" ${OPTS[ARG]}; then
)
if __contains_word "$prev" ${OPTS[ARG]}; then
@@
-62,7
+62,7
@@
_systemctl () {
--kill-mode)
comps='control-group process'
;;
--kill-mode)
comps='control-group process'
;;
- --property|-p)
+ --property|-p
|--host|-H
)
comps=''
;;
esac
comps=''
;;
esac