Update bash completion

Change-Id: Ie8b82bb88ad8899fd04371aedff1f35293f3e9bd
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
This commit is contained in:
Yujun Zhang 2017-07-05 15:20:58 +08:00
parent f86cb0fc67
commit 5d3a9a6125

View File

@ -5,22 +5,24 @@ _vitrage()
_get_comp_words_by_ref -n : cur prev words
# Command data:
cmds='alarm complete help rca resource template topology'
cmds='alarm complete event help rca resource template topology'
cmds_alarm='list'
cmds_alarm_list='-h --help -f --format -c --column --max-width --noindent --quote'
cmds_alarm_list='-h --help -f --format -c --column --max-width --print-empty --noindent --quote --all-tenants'
cmds_complete='-h --help --name --shell'
cmds_event='post'
cmds_event_post='-h --help --type --time --details'
cmds_help='-h --help'
cmds_rca='show'
cmds_rca_show='-h --help -f --format -c --column --max-width --noindent --variable --prefix'
cmds_rca_show='-h --help -f --format -c --column --max-width --print-empty --noindent --variable --prefix --all-tenants'
cmds_resource='list show'
cmds_resource_list='-h --help -f --format -c --column --max-width --noindent --quote --type'
cmds_resource_show='-h --help -f --format -c --column --max-width --noindent --variable --prefix'
cmds_resource_list='-h --help -f --format -c --column --max-width --print-empty --noindent --quote --type --all-tenants'
cmds_resource_show='-h --help -f --format -c --column --max-width --print-empty --noindent --variable --prefix'
cmds_template='list show validate'
cmds_template_list='-h --help -f --format -c --column --max-width --noindent --quote'
cmds_template_show='-h --help -f --format -c --column --max-width --noindent --variable --prefix'
cmds_template_validate='-h --help -f --format -c --column --max-width --noindent --variable --prefix --path'
cmds_template_list='-h --help -f --format -c --column --max-width --print-empty --noindent --quote'
cmds_template_show='-h --help -f --format -c --column --max-width --print-empty --noindent --variable --prefix'
cmds_template_validate='-h --help -f --format -c --column --max-width --print-empty --noindent --variable --prefix --path'
cmds_topology='show'
cmds_topology_show='-h --help -f --format -c --column --max-width --noindent --variable --prefix --filter --limit --root --graph-type'
cmds_topology_show='-h --help -f --format -c --column --max-width --print-empty --noindent --variable --prefix --filter --limit --root --graph-type --all-tenants'
dash=-
underscore=_