diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-04-15 09:49:24 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-04-29 08:01:51 +0200 |
commit | 56a9efa199a603b77e7f2bd0e84e11e897bf7473 (patch) | |
tree | eef65a2a5c6f6077c796d471506f1f8bdc45d174 /util/aio-posix.c | |
parent | 59d27ebc446baec4a972cc146df732910b5aa2de (diff) |
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 'util/aio-posix.c')
0 files changed, 0 insertions, 0 deletions