From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj7kM-0001Zt-Ry for qemu-devel@nongnu.org; Mon, 05 Oct 2015 11:32:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zj7kH-0003EY-93 for qemu-devel@nongnu.org; Mon, 05 Oct 2015 11:32:14 -0400 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:36014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj7kH-0003EN-3B for qemu-devel@nongnu.org; Mon, 05 Oct 2015 11:32:09 -0400 Received: by wicgb1 with SMTP id gb1so125076485wic.1 for ; Mon, 05 Oct 2015 08:32:08 -0700 (PDT) Sender: Paolo Bonzini References: <1442253680-8657-1-git-send-email-lvivier@redhat.com> From: Paolo Bonzini Message-ID: <561297F5.5010609@redhat.com> Date: Mon, 5 Oct 2015 17:32:05 +0200 MIME-Version: 1.0 In-Reply-To: <1442253680-8657-1-git-send-email-lvivier@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v5 0/2] Improve -help List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier , qemu-devel@nongnu.org, marcandre.lureau@gmail.com, eblake@redhat.com On 14/09/2015 20:01, Laurent Vivier wrote: > 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(-) > The idea is great, but I think standard options really applied only to "-help" and "-version". Almost everything else ended up under that heading just because no one wrote a heading... -add-fd expert -audio-help can be put into display for now -balloon Generic object creation (not really...) -boot Machine creation options? -cpu Machine creation options? -device Machine creation options? -global expert -k Display options -machine Machine creation options? -m[emory] Machine creation options? -mem-path Machine creation options? -mem-prealloc Machine creation options? -name expert -numa Machine creation options? -set expert -smp Machine creation options? -soundhw can be put into display for now? -uuid expert Paolo