clagraff / argparse

A Golang argument parser for command line arguments.
MIT License
24 stars 4 forks source link

Extra args after parsing #44

Open clagraff opened 7 years ago

clagraff commented 7 years ago

If you have a Optional arguments, a required positional argument, and then take a look at the extra, returned args after parsing when in your callback, it seems to contain info that is not correct.

clagraff commented 7 years ago

To build on this, it appears that a Parse will only parse 1 (one) optional flag. All other flags are skipped. This feels like it may be related to this issue.