Commit graph

806 commits

Author SHA1 Message Date
Kevin K
f4b2bf5767 feat(help): sort arguments by name so as to not display a random order 2015-04-05 20:20:46 -04:00
Kevin K
4572c79218 chore(clap): increase version 2015-04-04 16:19:34 -04:00
Kevin K.
046546b3e3 Merge pull request #61 from kbknapp/cleanup
Cleanup and fix
2015-04-04 16:17:12 -04:00
Kevin K
90e72cffde fix(flags): fix bug not allowing users to specify -v or -h 2015-04-04 16:13:51 -04:00
Kevin K
572bc31f08 style(app.rs): clean up misc items 2015-04-04 09:25:49 -04:00
Kevin K
b1cf77190e chore(clap): increase version 2015-04-03 11:52:18 -04:00
Kevin K.
9769dd682f Merge pull request #60 from kbknapp/dev
fix(help): fix spacing when option argument has not long version
2015-04-03 11:50:57 -04:00
Kevin K
ca17fa494b fix(help): fix spacing when option argument has not long version 2015-04-03 11:50:09 -04:00
Kevin K
f39004a26d chore(docs): rebuild documentation 2015-04-03 11:09:16 -04:00
Kevin K
6dc80fde3f chore(clap): increase version 2015-04-03 11:08:22 -04:00
Kevin K.
706e1c71d6 Merge pull request #59 from kbknapp/dev
Merge of dev
2015-04-03 11:05:46 -04:00
Kevin K
9abdb438e3 fix(clap): remove unstable features for Rust 1.0 2015-04-03 11:02:46 -04:00
Kevin K
60e4072896 Merge branch 'master' into dev 2015-04-02 23:00:01 -04:00
Kevin K
30750239eb docs(clap): rebuild documentation 2015-04-02 22:54:58 -04:00
Kevin K
66756bbc8a chore(clap): increased version 2015-04-02 22:54:58 -04:00
Kevin K
56426af2c4 test(claptests): fix test known goods to new error messages 2015-04-02 22:54:58 -04:00
Kevin K
bff945fc5d fix(args): improve error messages for arguments with mutual exclusions
Closes #51
2015-04-02 22:54:58 -04:00
Kevin K
343d47dcbf fix(positional args): all previous positional args become required when
a latter one is required

Closes #50
2015-04-02 22:54:58 -04:00
Kevin K
4a057c03c1 docs(clap): rebuild documentation 2015-04-02 22:49:45 -04:00
Kevin K
c238b49ba9 chore(clap): increased version 2015-04-02 22:47:52 -04:00
Kevin K.
057eab501f Merge pull request #58 from kbknapp/patch-51
Closes #51
2015-04-02 22:42:44 -04:00
Kevin K
08779ea17c test(claptests): fix test known goods to new error messages 2015-04-02 22:39:29 -04:00
Kevin K
18dbcf3702 fix(args): improve error messages for arguments with mutual exclusions
Closes #51
2015-04-02 22:34:36 -04:00
Kevin K.
68c8197574 Merge pull request #57 from kbknapp/patch-50
fix(positional args): all previous positional args become required when a latter one is required
2015-04-02 22:22:48 -04:00
Kevin K
c14c3f31fd fix(positional args): all previous positional args become required when
a latter one is required

Closes #50
2015-04-02 22:18:36 -04:00
Kevin K.
2abebcd0b6 Merge pull request #56 from kbknapp/tests
test(claptests): add more comprehensive tests
2015-04-02 19:20:13 -04:00
Kevin K
1a1ce2a7da test(claptests): add more comprehensive tests 2015-04-02 18:22:58 -04:00
Kevin K
bdb0e88f69 fix(tests): add missing .takes_value(true) to option2 2015-04-02 14:47:50 -04:00
Kevin K
e869100423 fix(help): fix formatting for option arguments with no long 2015-04-02 14:45:08 -04:00
Kevin K
1da0905b11 test(clap): add wider capability test coverage - wip 2015-04-02 14:17:45 -04:00
Kevin K
a0a2a40fed fix(flags): add assertion to catch flags with specific value sets
Closes #52
2015-04-01 20:16:45 -04:00
Kevin K
82ad6ad775 fix(option args): fix bug in getting the wrong number of occurrences for options 2015-04-01 20:14:49 -04:00
Kevin K
7cf9659f5b docs(README.md): add sections features and contributing 2015-04-01 13:22:53 -04:00
Kevin K
e095f6268d chore(clap): increase version 2015-04-01 13:22:53 -04:00
Kevin K
6ceb88a594 fix(args): fix bug in arguments who are required and mutually exclusive
When arguments are required-by-default and also mutually exclusive with
other arguments and the user chooses the mutually eclusive argument, the
requirements must be updated as well.
2015-04-01 13:22:53 -04:00
Kevin K
918f52ea35 chore(clap): increase version 2015-04-01 13:22:53 -04:00
Kevin K
28691b52f6 fix(help): fix formatting of help and usage 2015-04-01 13:22:53 -04:00
Kevin K
bddf50e810 chore(clap): increase version 2015-04-01 13:22:53 -04:00
Kevin K
6ec1011563 fix(help): fix formatting of help for flags and options
When options or flags have varying lengths of names and "long" version
the formatting gets corrupted because of the use of tabs. This commit
fixes those issues.
2015-04-01 13:22:53 -04:00
Kevin K
c0ef006861 chore(clap): increase version 2015-04-01 13:22:53 -04:00
Kevin K
297ddba770 feat(help): add '...' to indicate multiple values supported 2015-04-01 13:22:53 -04:00
Kevin K
fb3ccd7aaf docs(clap): rebuild documentation 2015-04-01 13:22:52 -04:00
Kevin K
cdc32eb469 chore(clap): increase version 2015-04-01 13:22:52 -04:00
Kevin K
b7fa72d40f feat(positionals): add assertions for positional args with multiple vals 2015-04-01 13:22:42 -04:00
Kevin K
8078400941 feat(positionals): add support for multiple values
Add support for #44 (multiple values for positional arguments) when the
positional argument is the last one (i.e. highest index)
2015-04-01 13:02:58 -04:00
Kevin K
f244ca6f9a chore(clap): increase version 2015-04-01 13:02:46 -04:00
Kevin K
da549dcb6c fix(apps): allow use of hyphens in application and subcommand names 2015-04-01 13:01:00 -04:00
Kevin K
c214f72fb1 chore(clap): increase version 2015-04-01 13:00:48 -04:00
Kevin K
d2ee5359c8 docs(README.md): update the readme 2015-04-01 13:00:33 -04:00
Kevin K
0a09eb365c fix(args): determine if the only arguments allowed are also required 2015-04-01 12:57:26 -04:00