aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bash-completion/getopt13
1 files changed, 12 insertions, 1 deletions
diff --git a/bash-completion/getopt b/bash-completion/getopt
index 5e3fca61cb..9cd9b7319a 100644
--- a/bash-completion/getopt
+++ b/bash-completion/getopt
@@ -27,7 +27,18 @@ _getopt_module()
esac
case $cur in
-*)
- OPTS="--alternative --help --longoptions --name --options --quiet --quiet-output --shell --test --unquoted --version"
+ OPTS="--alternative
+ --help
+ --longoptions
+ --name
+ --options
+ --quiet
+ --quiet-output
+ --shell
+ --test
+ --unknown
+ --unquoted
+ --version"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;