diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-10-04 16:09:28 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-10-04 16:09:28 -0500 |
commit | e20bbb25b010b46d19f2d1433c1aec400a23e4ab (patch) | |
tree | 76204fe7a0d0e1c4aaaae6547be0a3eade0c6df3 /etc/bash_completion.d | |
parent | 90c3c647fe33146ef3d6a0572f93c634ed650834 (diff) | |
download | vyatta-cfg-e20bbb25b010b46d19f2d1433c1aec400a23e4ab.tar.gz vyatta-cfg-e20bbb25b010b46d19f2d1433c1aec400a23e4ab.zip |
Clear vyatta_cfg_comp_help when starting a new completion otherwise the Detailed Information section from the previous completion will be retained on this completion
Diffstat (limited to 'etc/bash_completion.d')
-rwxr-xr-x | etc/bash_completion.d/vyatta-cfg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg index 0dad69d..860e485 100755 --- a/etc/bash_completion.d/vyatta-cfg +++ b/etc/bash_completion.d/vyatta-cfg @@ -613,6 +613,7 @@ vyatta_config_complete () { local restore_shopts=$( shopt -p extglob nullglob | tr \\n \; ) shopt -s extglob nullglob + vyatta_cfg_comp_help='' if [ "$COMP_LINE" == "$VYATTA_COMP_LINE" ]; then VYATTA_COMP_LINE=$VYATTA_COMP_LINE_EMPTY |