]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tools: vshCmddefHelp: Don't call vshCmddefOptParse
authorPeter Krempa <pkrempa@redhat.com>
Thu, 12 Nov 2020 12:42:45 +0000 (13:42 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 13 Nov 2020 10:12:30 +0000 (11:12 +0100)
commitfde5b4cf9de02f3256a4e071e399a1105feea3fe
tree4ce0ae47712136025dfd2d940d28eaea09bdb0b6
parentcd0602290a532ca98e22eade44f617da79ce6de5
tools: vshCmddefHelp: Don't call vshCmddefOptParse

The help formatter called vshCmddefOptParse just for validation
purposes. Since vshCmddefOptParse no longer validates the command itself
and we don't need the bitmaps returned by it we can drop the call
entirely.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tools/vsh.c