From d1425b3cb28509e31fc5daa0cf734e389ee22250 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Mon, 1 Aug 2011 15:43:13 -0500 Subject: Fix incorrect comp_words check in previous commit. My original implementation used config.boot instead of saved --- etc/bash_completion.d/vyatta-cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/bash_completion.d') diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg index 7d184f2..c16873f 100755 --- a/etc/bash_completion.d/vyatta-cfg +++ b/etc/bash_completion.d/vyatta-cfg @@ -516,7 +516,7 @@ vyatta_compare_complete () print_commit_log COMPREPLY=( "" " " ) elif [ $COMP_CWORD -eq 2 -a -z "${COMP_WORDS[2]}" ]; then - if [[ "${COMP_WORDS[1]}" == "config.boot" ]]; then + if [[ "${COMP_WORDS[1]}" == "saved" ]]; then echo "Possible completions:" echo -e " \tCompare working and saved configurations" COMPREPLY=( "" " " ) -- cgit v1.2.3