Re: [Qemu-devel] [PATCH] monitor: print help for command errors

2015-05-13 Thread Bandan Das
Markus Armbruster arm...@redhat.com writes: Bandan Das b...@redhat.com writes: Unlike machines, humans will be (mostly) appreciative on seeing help output when a command fails due to incorrect syntax or input. By default, print output of help_cmd() to the monitor in such cases. The only

Re: [Qemu-devel] [PATCH] monitor: print help for command errors

2015-05-13 Thread Markus Armbruster
Bandan Das b...@redhat.com writes: Unlike machines, humans will be (mostly) appreciative on seeing help output when a command fails due to incorrect syntax or input. By default, print output of help_cmd() to the monitor in such cases. The only exceptions are if a command does not exist or

[Qemu-devel] [PATCH] monitor: print help for command errors

2015-05-12 Thread Bandan Das
Unlike machines, humans will be (mostly) appreciative on seeing help output when a command fails due to incorrect syntax or input. By default, print output of help_cmd() to the monitor in such cases. The only exceptions are if a command does not exist or parsing failed for some other reason.