summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMeador Inge2015-07-06 20:03:40 +0200
committerRiku Voipio2015-09-28 15:04:20 +0200
commit138940bf08df1d8e9b862ad019a0d7d451e2413a (patch)
tree61c5d0eccdf628b4704ca6fb42afae672f09e5a9 /scripts
parentlinux-user: Add -help (diff)
downloadqemu-138940bf08df1d8e9b862ad019a0d7d451e2413a.tar.gz
qemu-138940bf08df1d8e9b862ad019a0d7d451e2413a.tar.xz
qemu-138940bf08df1d8e9b862ad019a0d7d451e2413a.zip
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 'scripts')
0 files changed, 0 insertions, 0 deletions