Commit Graph
10 Commits
Author SHA1 Message Date
Paul Ouellette ec3d22f499 Add example for option with argument choices 2019-05-30 13:55:13 -04:00
Paul Ouellette a8faa0b092 Show choices in help and usage messages 2019-05-30 13:55:13 -04:00
Paul Ouellette dcd5162710 Add argument choices 2019-05-30 13:55:13 -04:00
Paul Ouellette 16c979220b Remove duplicate test 2019-05-30 13:26:58 -04:00
Paul Ouellette 7981df63da Make error message more consistent 2019-05-26 23:49:38 -04:00
Paul Ouellette d3cc9f24a5 Add documentation for add_help_command 2019-05-25 14:37:04 -04:00
Paul Ouellette 24398b67ce Add tests for help command 2019-05-25 00:24:49 -04:00
Paul Ouellette 55acc1689c Fix tests broken due to change in help flag order 2019-05-24 22:48:27 -04:00
Paul Ouellette 6e3c4d5305 Implement add_help_command parser property
Like add_help, but it adds a command instead of a flag.
2019-05-22 21:59:32 -04:00
Paul Ouellette c5af087ad0 Save index of help option
Instead of keeping it at the end of the options list.
2019-05-22 16:41:58 -04:00