]> www.infradead.org Git - users/dwmw2/qemu.git/commit
plugin/loader: handle basic help query
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 29 Jul 2024 14:44:14 +0000 (15:44 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 30 Jul 2024 10:44:21 +0000 (11:44 +0100)
commit7b690fd3d039211a5bdde6a74b0ff95cb8b872b0
tree6bbd8d4013c5481882dcdfa6064c8070b2d161a1
parent44e794896759236885f6d30d1f6b9b8b76355d52
plugin/loader: handle basic help query

As the list of options isn't fixed we do all the parsing by hand.
Without any named arguments we automatically fill the "file" option
with the value give so check if it is requesting help and dump some
basic usage text.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240729144414.830369-15-alex.bennee@linaro.org>
plugins/loader.c