bash-completion: Don't offer any more completions after help or version.
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
This commit is contained in:
parent
2885c533fd
commit
d4f9b8d74c
87 changed files with 353 additions and 23 deletions
|
@ -50,6 +50,9 @@ _setpriv_module()
|
|||
COMPREPLY=( $(compgen -W "profile" -- $cur) )
|
||||
return 0
|
||||
;;
|
||||
'-h'|'--help'|'-V'|'--version')
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
case $cur in
|
||||
-*)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue