aboutsummaryrefslogtreecommitdiffstats
path: root/bash-completion/col
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2013-04-07 11:12:04 +0300
committerKarel Zak <kzak@redhat.com>2013-04-08 17:06:52 +0200
commitd4f9b8d74c5110c6ee92483facd7a0d94a1a9e57 (patch)
tree4457e6b5111b2fbea8c1591b44fecc56037f49cc /bash-completion/col
parent2885c533fd11cb91ddd5dae17ed93b4de363496b (diff)
downloadutil-linux-d4f9b8d74c5110c6ee92483facd7a0d94a1a9e57.tar.gz
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/col')
-rw-r--r--bash-completion/col3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash-completion/col b/bash-completion/col
index 9ad3a67320..41cac72405 100644
--- a/bash-completion/col
+++ b/bash-completion/col
@@ -9,6 +9,9 @@ _col_module()
COMPREPLY=( $(compgen -W "number" -- $cur) )
return 0
;;
+ '-H'|'--help'|'-V'|'--version')
+ return 0
+ ;;
esac
OPTS="-b --no-backspaces
-f --fine