diff --git a/tools/vsh.c b/tools/vsh.c index 68f3cd99f9b4ef173fcd69972c3289c530b543db..148c920a50df29c68b3df5442a92c322b96869b8 100644 --- a/tools/vsh.c +++ b/tools/vsh.c @@ -2685,7 +2685,7 @@ vshReadlineOptionsGenerator(const char *text, } while (opt) { - if (STREQ(opt->def->name, name)) { + if (STREQ(opt->def->name, name) && opt->def->type != VSH_OT_ARGV) { exists = true; break; }