"Lin Ma" <l...@suse.com> writes: >>>> Marc-André Lureau <marcandre.lur...@gmail.com> 8/17/2016 1:25 上午 >>> [...] >>How different is it from the list in qemu -help ? Why duplicate that list >>with less informations (arguments and details) ? Do you expect it to be >>easily machine readable? >> > No special reason, Just add 'help' option to make it more friendly, like the > output of '-watchdog help' or '-tpmdev help', Sometimes I forget the chardev > backend names which I want to try, I'd like to have a very easy&fast way to > get the backend list :-). > > Various backends have various arguments, Printing all of them causes the > complex output, that was my thought before I send the patch. > Now...yes, it makes sense that including the arguments in output, I can add > them if the patch's idea is acceptable.
You could do it like -device / device_add: argument help lists types, and argument T,help shows additional help for type T.