diff options
author | Ville Skyttä | 2013-04-07 10:12:04 +0200 |
---|---|---|
committer | Karel Zak | 2013-04-08 17:06:52 +0200 |
commit | d4f9b8d74c5110c6ee92483facd7a0d94a1a9e57 (patch) | |
tree | 4457e6b5111b2fbea8c1591b44fecc56037f49cc /bash-completion/chsh | |
parent | logger: make socket initialization in main() more readable (diff) | |
download | kernel-qcow2-util-linux-d4f9b8d74c5110c6ee92483facd7a0d94a1a9e57.tar.gz kernel-qcow2-util-linux-d4f9b8d74c5110c6ee92483facd7a0d94a1a9e57.tar.xz kernel-qcow2-util-linux-d4f9b8d74c5110c6ee92483facd7a0d94a1a9e57.zip |
bash-completion: Don't offer any more completions after help or version.
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
Diffstat (limited to 'bash-completion/chsh')
-rw-r--r-- | bash-completion/chsh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bash-completion/chsh b/bash-completion/chsh index c0a194cf3..5b191e969 100644 --- a/bash-completion/chsh +++ b/bash-completion/chsh @@ -9,6 +9,9 @@ _chsh_module() COMPREPLY=( $(compgen -W "$(chsh -l)" -- $cur) ) return 0 ;; + '-u'|'--help'|'-v'|'--version') + return 0 + ;; esac case $cur in -*) |