summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/bash_completion.d/20vyatta-cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg
index 00482c5..7d0b633 100644
--- a/etc/bash_completion.d/20vyatta-cfg
+++ b/etc/bash_completion.d/20vyatta-cfg
@@ -423,8 +423,8 @@ vyatta_parse_tmpl ()
return
fi
eval `sed -n '
- /^syntax:expression:[ ]\+\$(@)[ ]\+in[ ]\+/ {
- s/^syntax:expression:[ ]\+\$(@)[ ]\+in[ ]\+/vyatta_cfg_allowed=( /
+ /^syntax:expression:[ ]\+\$VAR(@)[ ]\+in[ ]\+/ {
+ s/^syntax:expression:[ ]\+\$VAR(@)[ ]\+in[ ]\+/vyatta_cfg_allowed=( /
s/^\([^;]\+\);.*$/\1 )/
s/[ ]*,[ ]*/ /gp
}