[Qemu-devel] [PATCH 3/4] linux-user: Add proper error messages for bad options

2015-07-06 Thread meadori
From: Meador Inge 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 confusin

[Qemu-devel] [PATCH 3/4] linux-user: Add proper error messages for bad options

2012-03-27 Thread Meador Inge
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 '--