diff options
author | Meador Inge <meadori@codesourcery.com> | 2015-07-06 11:03:40 -0700 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2015-09-28 16:04:20 +0300 |
commit | 138940bf08df1d8e9b862ad019a0d7d451e2413a (patch) | |
tree | 61c5d0eccdf628b4704ca6fb42afae672f09e5a9 /qemu-timer.c | |
parent | daaf8c8eb7135386134bc7075b9cf4dd57107c43 (diff) |
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 'qemu-timer.c')
0 files changed, 0 insertions, 0 deletions