diff options
| author | Markus Armbruster | 2020-04-15 09:49:24 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2020-04-29 08:01:51 +0200 |
| commit | 56a9efa199a603b77e7f2bd0e84e11e897bf7473 (patch) | |
| tree | eef65a2a5c6f6077c796d471506f1f8bdc45d174 /include | |
| parent | test-qemu-opts: Simplify test_has_help_option() after bug fix (diff) | |
| download | qemu-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
