mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
bash-completion: loginctl: suggest argument for --output option
This commit is contained in:
parent
fad73e9deb
commit
dfeebf55d9
|
@ -55,6 +55,9 @@ _loginctl () {
|
|||
--property|-p)
|
||||
comps=''
|
||||
;;
|
||||
--output|-o)
|
||||
comps=$( loginctl --output=help 2>/dev/null )
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
|
||||
return 0
|
||||
|
|
Loading…
Reference in a new issue