bash-completion: generate unit type list from systemctl -t help option

This commit is contained in:
Evgeny Vereshchagin 2015-08-13 21:54:58 +00:00
parent 3326332eb9
commit adb0c25eb6
1 changed files with 1 additions and 1 deletions

View File

@ -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