diff options
| author | Meador Inge | 2015-07-06 20:03:40 +0200 |
|---|---|---|
| committer | Riku Voipio | 2015-09-28 15:04:20 +0200 |
| commit | 138940bf08df1d8e9b862ad019a0d7d451e2413a (patch) | |
| tree | 61c5d0eccdf628b4704ca6fb42afae672f09e5a9 /iohandler.c | |
| parent | linux-user: Add -help (diff) | |
| download | qemu-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 'iohandler.c')
0 files changed, 0 insertions, 0 deletions
