提交 25505796 编写于 作者: N Nishith Shah 提交者: Michal Privoznik

virsh: Allow data or argument options to be completed as well

Signed-off-by: NNishith Shah <nishithshah.2211@gmail.com>
上级 dcfdf341
......@@ -2607,10 +2607,6 @@ vshReadlineOptionsGenerator(const char *text, int state, const vshCmdDef *cmd_pa
list_index++;
if (opt->type == VSH_OT_DATA || opt->type == VSH_OT_ARGV)
/* ignore non --option */
continue;
if (len > 2) {
/* provide auto-complete only when the text starts with -- */
if (STRNEQLEN(text, "--", 2))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册