1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-01 08:58:29 +03:00

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

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