argument parsing: handle --help option in order
commit0524f69bc444d33a2efa36233c48daa9ba23a8bf
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 20 Feb 2013 15:44:13 +0000 (20 16:44 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 20 Feb 2013 15:51:53 +0000 (20 16:51 +0100)
tree5a74fd76fbd8dcef2990b9a1d18886532e685a4a
parent6c6186f6655c8d1cd1264c9762a93480244b1b88
argument parsing: handle --help option in order

In the original code, we would first scan for any --help option
before processing any other options.  Now we first consider the options
before --help.  If any of these options change the defaults for any other
options, then those changed defaults will be reflected in the --help output.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_arg.c