diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-11-06 16:53:23 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-11-06 16:53:23 -0800 |
commit | 162e2e13f086b94dbc5b4a57ed45c4f62eced123 (patch) | |
tree | e610ae76a9b121b51824c1258c4150fa1f895c2a | |
parent | 95887fd39f57ce0e81169140605c81e70a1a4734 (diff) | |
download | vyatta-cfg-162e2e13f086b94dbc5b4a57ed45c4f62eced123.tar.gz vyatta-cfg-162e2e13f086b94dbc5b4a57ed45c4f62eced123.zip |
handle "type:" without help string
-rw-r--r-- | etc/bash_completion.d/20vyatta-cfg | 2 |
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") |