diff --git a/shell-completion/bash/loginctl b/shell-completion/bash/loginctl index 1f5b46620cb..c7593ab4089 100644 --- a/shell-completion/bash/loginctl +++ b/shell-completion/bash/loginctl @@ -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