#gopt
an extremely simple, yet powerful commandline parser for single-dash, single-char options
Yup. Unlike getopt(), it doesn't use any global variables, and doesn't force you to either.
See the examples in the examples/
directory. Sorry for not providing a better answer, but it's very straightforward. Don't worry!
As long as you know the size of the vector, sure! I don't use it for that, but technically, nothing would keep you from doing it.
It's a trivial algorithm, too trivial to justify putting on copyrights/lefts.
Nope. Of course gopt
will be updated, should need arise. For now, gopt
is still waiting for multi-options support... :-)