summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d/20vyatta-cfg
diff options
context:
space:
mode:
Diffstat (limited to 'etc/bash_completion.d/20vyatta-cfg')
-rw-r--r--etc/bash_completion.d/20vyatta-cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg
index c8f6456..4e809ea 100644
--- a/etc/bash_completion.d/20vyatta-cfg
+++ b/etc/bash_completion.d/20vyatta-cfg
@@ -369,7 +369,7 @@ vyatta_parse_tmpl ()
}
s/^tag:/vyatta_cfg_tag=1/p
s/^multi:/vyatta_cfg_multi=1/p
- s/^type:[ ]\+\([^ ;]\+\);.*/vyatta_cfg_type=\1/p
+ s/^type:[ ]\+\([^ ;]\+\)\(;.*\)\?/vyatta_cfg_type=\1/p
' $1`
local acmd=$(vyatta_parse_tmpl_comp_fields $1 "allowed")