Re: [Qemu-devel] [PATCH ] qemu-help: add category headlines

2013-08-28 Thread Marcel Apfelbaum
On Thu, 2013-08-22 at 15:48 +0300, Marcel Apfelbaum wrote: > This patch follows Markus Armbruster suggestion: > > A possibly better way to group help by category: instead of adding > categories to each line, add category headlines, like this: > > Controller/Bridge/Hub devices: > name "NAM

Re: [Qemu-devel] [PATCH ] qemu-help: add category headlines

2013-08-22 Thread Markus Armbruster
Marcel Apfelbaum writes: > On Thu, 2013-08-22 at 09:34 -0600, Eric Blake wrote: >> On 08/22/2013 08:13 AM, Markus Armbruster wrote: >> >> >>> +++ b/qdev-monitor.c >> >>> @@ -156,6 +156,8 @@ static void >> >>> qdev_print_category_devices(DeviceCategory category) >> >>> DeviceClass *dc; >> >>

Re: [Qemu-devel] [PATCH ] qemu-help: add category headlines

2013-08-22 Thread Marcel Apfelbaum
On Thu, 2013-08-22 at 09:34 -0600, Eric Blake wrote: > On 08/22/2013 08:13 AM, Markus Armbruster wrote: > > >>> +++ b/qdev-monitor.c > >>> @@ -156,6 +156,8 @@ static void > >>> qdev_print_category_devices(DeviceCategory category) > >>> DeviceClass *dc; > >>> GSList *list, *curr; > >>>

Re: [Qemu-devel] [PATCH ] qemu-help: add category headlines

2013-08-22 Thread Eric Blake
On 08/22/2013 08:13 AM, Markus Armbruster wrote: >>> +++ b/qdev-monitor.c >>> @@ -156,6 +156,8 @@ static void qdev_print_category_devices(DeviceCategory >>> category) >>> DeviceClass *dc; >>> GSList *list, *curr; >>> >>> +error_printf("%s devices:\n", qdev_category_get_name(catego

Re: [Qemu-devel] [PATCH ] qemu-help: add category headlines

2013-08-22 Thread Markus Armbruster
Andreas Färber writes: > Am 22.08.2013 14:48, schrieb Marcel Apfelbaum: >> This patch follows Markus Armbruster suggestion: >> >> A possibly better way to group help by category: instead of adding >> categories to each line, add category headlines, like this: >> >> Controller/Bridge/Hub dev

Re: [Qemu-devel] [PATCH ] qemu-help: add category headlines

2013-08-22 Thread Andreas Färber
Am 22.08.2013 14:48, schrieb Marcel Apfelbaum: > This patch follows Markus Armbruster suggestion: > > A possibly better way to group help by category: instead of adding > categories to each line, add category headlines, like this: > > Controller/Bridge/Hub devices: > name "NAME", bus "BUS

[Qemu-devel] [PATCH ] qemu-help: add category headlines

2013-08-22 Thread Marcel Apfelbaum
This patch follows Markus Armbruster suggestion: A possibly better way to group help by category: instead of adding categories to each line, add category headlines, like this: Controller/Bridge/Hub devices: name "NAME", bus "BUS"... ... USB devices: name "NAME", bus "BUS"...