]> git.tdb.fi Git - libs/core.git/commit - source/core/getopt.h
Add support for positional arguments in GetOpt
authorMikko Rasa <tdb@tdb.fi>
Fri, 3 May 2013 09:42:27 +0000 (12:42 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 3 May 2013 09:42:27 +0000 (12:42 +0300)
commit5305cabf0b20a99a82aff4bcef26f2be0a8fd757
tree310b59bfcb7ed6a132d56466b61bf127590cd434
parent6f0c4c39133e08c05ffb1f1d53141a7e80ba6351
Add support for positional arguments in GetOpt

This addresses the issue of any positional arguments recognized by an
application not showing up in the generated help text.  It also reduces
the amount of processing and validation required from the application
itself and provides consistent error messages.
source/core/getopt.cpp
source/core/getopt.h