This series allows to only display a given list of help sections. v5: introduce "-help[=LIST]", move help of help to the end "all" section. Remove typo fix (already included). v4: as proposed by Eric, provide a list of sections, restore default -help v3: add a 2nd patch to add an help section, -help displays only this section v2: simplify the dance of #define/#undef, thanks to Marc-André.
Laurent Vivier (2): vl: Allow to define optional parameter with -arg[=params] Use help sub-sections to create sub-help options qemu-options.hx | 124 ++++++++++++++++++++++++++++++++++-- vl.c | 191 +++++++++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 294 insertions(+), 21 deletions(-) -- 2.1.0