};
static const vshCmdOptDef opts_help[] = {
- {"command", VSH_OT_DATA, 0, N_("Prints global help or command specific help.")},
- {"group", VSH_OT_DATA, 0, N_("Prints global help or help for a group of related commands.")},
+ {"command", VSH_OT_DATA, 0, N_("Prints global help, command specific help, or help for a group of related commands")},
{NULL, 0, 0, NULL}
};
name = vshCommandOptString(cmd, "command", NULL);
- if (!name)
- name = vshCommandOptString(cmd, "group", NULL);
-
if (!name) {
const vshCmdGrp *grp;
const vshCmdDef *def;