summaryrefslogtreecommitdiff
path: root/misc/rb_optparse.bash
diff options
context:
space:
mode:
Diffstat (limited to 'misc/rb_optparse.bash')
-rw-r--r--misc/rb_optparse.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/rb_optparse.bash b/misc/rb_optparse.bash
index 5022442c94..8a59ec2dda 100644
--- a/misc/rb_optparse.bash
+++ b/misc/rb_optparse.bash
@@ -11,7 +11,7 @@
# rb_optparse command_using_optparse_2
_rb_optparse() {
- COMPREPLY=($("${COMP_WORDS[0]}" --help=complete="${COMP_WORDS[COMP_CWORD]}"))
+ COMPREPLY=($("${COMP_WORDS[0]}" "--*-completion-bash=${COMP_WORDS[COMP_CWORD]}"))
return 0
}