summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-11-06 16:53:23 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-11-06 16:53:23 -0800
commit162e2e13f086b94dbc5b4a57ed45c4f62eced123 (patch)
treee610ae76a9b121b51824c1258c4150fa1f895c2a /etc
parent95887fd39f57ce0e81169140605c81e70a1a4734 (diff)
downloadvyatta-cfg-162e2e13f086b94dbc5b4a57ed45c4f62eced123.tar.gz
vyatta-cfg-162e2e13f086b94dbc5b4a57ed45c4f62eced123.zip
handle "type:" without help string
Diffstat (limited to 'etc')
-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")