projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3326332
)
bash-completion: generate unit type list from systemctl -t help option
author
Evgeny Vereshchagin
<evvers@ya.ru>
Thu, 13 Aug 2015 21:54:58 +0000
(21:54 +0000)
committer
Evgeny Vereshchagin
<evvers@ya.ru>
Sun, 16 Aug 2015 14:53:21 +0000
(14:53 +0000)
shell-completion/bash/systemctl.in
patch
|
blob
|
history
diff --git
a/shell-completion/bash/systemctl.in
b/shell-completion/bash/systemctl.in
index c2707ba3a6ab42f3139ed222be42bbf49db3cdae..0bcd49f923620d7422e8c91a0beb68ea0f970f2d 100644
(file)
--- a/
shell-completion/bash/systemctl.in
+++ b/
shell-completion/bash/systemctl.in
@@
-108,7
+108,7
@@
_systemctl () {
comps=$(compgen -A signal)
;;
--type|-t)
- comps=
'automount busname device mount path service snapshot socket swap target timer'
+ comps=
$(__systemctl $mode -t help)
;;
--state)
comps='loaded not-found stub