summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@vyatta.com>2007-10-02 15:08:48 -0700
committerTom Grennan <tgrennan@vyatta.com>2007-10-02 15:08:48 -0700
commit3050d1d8fd671528e4258f0dd0ff26748e028cb7 (patch)
tree778fbda4cdadb2e7eb6975727d4fecda71da25ee /etc
parent3b5d8b0964eb27224065155d4d55a48040db8b12 (diff)
downloadvyatta-op-3050d1d8fd671528e4258f0dd0ff26748e028cb7.tar.gz
vyatta-op-3050d1d8fd671528e4258f0dd0ff26748e028cb7.zip
cleanup the help pseudo-completion strings used as line separator
Diffstat (limited to 'etc')
-rw-r--r--etc/bash_completion.d/vyatta-op6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/bash_completion.d/vyatta-op b/etc/bash_completion.d/vyatta-op
index ec309f0..3244394 100644
--- a/etc/bash_completion.d/vyatta-op
+++ b/etc/bash_completion.d/vyatta-op
@@ -295,9 +295,9 @@ _vyatta_op_expand ()
if [[ ${#COMPREPLY[@]} -ne 0 || "$a" == '--' ]] &&
[[ "${COMP_WORDS[*]}" == "${_vyatta_op_comp_words[*]}" ]]
then
- _vyatta_op_help && \
- COMPREPLY=($( compgen -W "=_=_=_=_=_=_=_ _=_=_=_=_=_=_=" ))
- _vyatta_op_comp_words=
+ _vyatta_op_help
+ COMPREPLY=($( compgen -o nospace -W "______________ ..." ))
+ _vyatta_op_comp_words=( )
else
_vyatta_op_comp_words=( "${COMP_WORDS[@]}" )
fi