aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/apic.c
diff options
context:
space:
mode:
authorMeador Inge <meadori@codesourcery.com>2015-07-06 11:03:40 -0700
committerRiku Voipio <riku.voipio@linaro.org>2015-09-28 16:04:20 +0300
commit138940bf08df1d8e9b862ad019a0d7d451e2413a (patch)
tree61c5d0eccdf628b4704ca6fb42afae672f09e5a9 /hw/intc/apic.c
parentdaaf8c8eb7135386134bc7075b9cf4dd57107c43 (diff)
downloadqemu-138940bf08df1d8e9b862ad019a0d7d451e2413a.zip
qemu-138940bf08df1d8e9b862ad019a0d7d451e2413a.tar.gz
qemu-138940bf08df1d8e9b862ad019a0d7d451e2413a.tar.bz2
linux-user: Add proper error messages for bad options
This patch adds better support for diagnosing option parser errors. The previous implementation just printed the usage text and exited when a bad option or argument was found. This made it very difficult to determine why the usage was being displayed and it was doubly confusing for cases like '--help' (it wasn't clear that --help was actually an error). Signed-off-by: Meador Inge <meadori@codesourcery.com> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'hw/intc/apic.c')
0 files changed, 0 insertions, 0 deletions