summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarkus Armbruster2020-04-15 09:49:24 +0200
committerMarkus Armbruster2020-04-29 08:01:51 +0200
commit56a9efa199a603b77e7f2bd0e84e11e897bf7473 (patch)
treeeef65a2a5c6f6077c796d471506f1f8bdc45d174 /include
parenttest-qemu-opts: Simplify test_has_help_option() after bug fix (diff)
downloadqemu-56a9efa199a603b77e7f2bd0e84e11e897bf7473.tar.gz
qemu-56a9efa199a603b77e7f2bd0e84e11e897bf7473.tar.xz
qemu-56a9efa199a603b77e7f2bd0e84e11e897bf7473.zip
qemu-option: Avoid has_help_option() in qemu_opts_parse_noisily()
When opts_parse() sets @invalidp to true, qemu_opts_parse_noisily() uses has_help_option() to decide whether to print help. This parses the input string a second time. Easy to avoid: replace @invalidp by @help_wanted. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20200415074927.19897-7-armbru@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions