projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fad73e9
)
bash-completion: loginctl: suggest argument for --output option
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Thu, 13 Dec 2018 17:17:30 +0000
(
02:17
+0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Thu, 13 Dec 2018 17:18:35 +0000
(
02:18
+0900)
shell-completion/bash/loginctl
patch
|
blob
|
history
diff --git
a/shell-completion/bash/loginctl
b/shell-completion/bash/loginctl
index
1f5b466
..
c7593ab
100644
(file)
--- 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