mirror of
https://github.com/systemd/systemd
synced 2024-10-06 16:21:34 +00:00
bash-completion: systemctl: use --output=help to show suggestions
This commit is contained in:
parent
fdc33681ae
commit
2e68a49dc8
|
@ -168,8 +168,7 @@ _systemctl () {
|
|||
comps='full enable-only disable-only'
|
||||
;;
|
||||
--output|-o)
|
||||
comps='short short-full short-iso short-iso-precise short-precise short-monotonic short-unix verbose export json
|
||||
json-pretty json-sse json-seq cat with-unit'
|
||||
comps=$( systemctl --output=help 2>/dev/null )
|
||||
;;
|
||||
--machine|-M)
|
||||
comps=$( __get_machines )
|
||||
|
|
Loading…
Reference in a new issue