mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
bash-completion: loginctl: suggest argument for --output option
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user