mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
bash-completion: systemctl: use --output=help to show suggestions
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user