Commit Graph

4 Commits

Author SHA1 Message Date
mpeterv
ccad58ef50 return Parser as the module 2014-02-17 18:41:09 +04:00
mpeterv
3788b9c1a6 Improved help option behaviour
* Help option is only created once per parser, several :prepare() invocations do not create extra options.
* In :add_help(foo), foo is passed to the help option overriding default name, see spec/help_spec.lua @ 24
2014-02-17 16:58:16 +04:00
mpeterv
4dc73cac35 added a test for multiline descriptions 2014-02-17 15:26:04 +04:00
mpeterv
9ae8df55cc added tests related to help, improved help generation 2014-01-26 17:38:22 +04:00