Kevin K.
a2ff664ad7
Merge pull request #168 from kbknapp/perf-changes
...
perf: removes some unneeded allocations
2015-07-29 18:01:00 -04:00
Kevin K
93e915dfe3
perf: removes some unneeded allocations
2015-07-29 17:55:02 -04:00
Kevin K
80baab2672
chore: updates build system
2015-07-29 15:18:05 -04:00
Kevin K
7f77c72701
chore: increase version
2015-07-19 22:04:40 -04:00
Kevin K
c9195c5f92
fix(Macros): fixes a typo in a macro generated error message
2015-07-19 22:03:59 -04:00
Kevin K.
5d0f2520f8
Merge pull request #165 from kbknapp/fixups
...
Fixups
2015-07-19 22:02:12 -04:00
Kevin K
fe5d95c64f
fix(Type Errors): fixes formatting of error output when failed type parsing
2015-07-19 21:52:34 -04:00
Kevin K
536d642e14
test: updates tests to new usage strings
2015-07-19 21:52:34 -04:00
Kevin K
86c3be85fb
imp(Usage Strings): displays a [--] when it may be helpful
2015-07-19 21:52:34 -04:00
Kevin K
1160bd8d96
chore: increase version
2015-07-18 11:03:53 -04:00
Kevin K
2a09c662a3
Merge branch 'master' of github.com:kbknapp/clap-rs
2015-07-18 11:03:15 -04:00
Kevin K
52f81e1737
docs: updates README.md to include lack of color support on Windows
2015-07-18 11:01:21 -04:00
Kevin K.
6181f85554
Merge pull request #164 from kbknapp/issue-163
...
fix: fixes formatting bug which prevented compiling on windows
2015-07-18 10:57:47 -04:00
Kevin K
9cb5dceb3e
fix: fixes formatting bug which prevented compiling on windows
...
Closes #163
2015-07-18 14:31:09 -04:00
Kevin K
dd6f13d8bc
chore: increase version
2015-07-16 22:17:18 -04:00
Kevin K
6d214b549a
fix: fixes a bug when parsing multiple {n} newlines inside help strings
2015-07-16 22:16:50 -04:00
Kevin K
f2dd2cb1c6
chore: increase version
2015-07-16 21:42:15 -04:00
Kevin K.
65ba33d895
Merge pull request #162 from kbknapp/issue-161
...
fix: fixes a logic bug and allows setting Arg::number_of_values() < 2
2015-07-16 21:38:42 -04:00
Kevin K
42b6d1fc3c
fix: fixes a logic bug and allows setting Arg::number_of_values() < 2
...
Allows setting `Arg::number_of_values(qty)` where `qty` < 2. This allows
things such as `Arg::number_of_values(1)` in conjuction with
`Arg::multiple(true)` which would make invoking the program like this
`myprog --opt val --opt val` legal, but `myprog --opt val1 val2`
illegal.
Closes #161
2015-07-16 21:34:04 -04:00
Kevin K
5b4170b4b7
chore: increase version
2015-07-16 01:46:24 -04:00
Kevin K.
023981cf05
Merge pull request #160 from kbknapp/feature-rollup
...
perf: improves help message printing drastically
2015-07-16 01:43:41 -04:00
Kevin K
8232f7bb52
docs: updates readme with new features
2015-07-16 01:39:57 -04:00
Kevin K
f9800a2969
imp(Help Strings): properly aligns and handles newlines in long help strings
...
Long help strings can now be broken up with newlines that will be
properly aligned in help messages. Simply place a `{n}` wherever you'd
like the newline to appear.
Closes #145
2015-07-16 01:27:58 -04:00
Kevin K
3b202917d1
test: changes test help messages to new improvements
2015-07-16 01:27:58 -04:00
Kevin K
52bcd892ea
feat: allows creating unified help messages, a la docopt or getopts
...
Allows creating help messages with a more unified look, similar to how
docopt and getopts are formatted. (i.e. flags and options are combined
into a single group)
Closes #158
2015-07-16 01:27:05 -04:00
Kevin K
336c476f63
feat: allows stating all subcommands should *not* have --version flags
...
Allows subcommands to disable the `--version` flag by using the
`App::versionless_subcommands(true)` method.
Closes #156
2015-07-16 01:26:11 -04:00
Kevin K
bc66d3c6de
feat: allows setting version number to auto-propagate through subcommands
...
The version number can now be auto-propgated down through subcommands
with the App::global_version(true) method
Closes #157
2015-07-16 01:25:14 -04:00
Severen Redwood
8889689dc6
docs: fix incorrect code example for App::subcommand_required
2015-07-15 21:54:07 -04:00
Kevin K
62275b7cf6
chore: increase version
2015-07-11 11:30:33 -04:00
Kevin K.
3fa80400f2
Merge pull request #155 from kbknapp/issue-154
...
imp: writes errors to stderr
2015-07-11 11:28:05 -04:00
Kevin K
cc76ab8c2b
imp(Errors): writes errors to stderr
...
Closes #154
2015-07-11 11:23:48 -04:00
Kevin K
0aca29bd5d
docs(README.md): updates example help message to new format
2015-07-09 11:46:12 -04:00
Kevin K
5419fd8ed1
chore: increase version
2015-07-09 10:28:03 -04:00
Kevin K.
5cd9620c42
Merge pull request #153 from kbknapp/issue-147
...
imp(Usage): re-orders optional arguments and required to natural stan…
2015-07-09 10:27:15 -04:00
Kevin K
dc7e1fcea5
imp(Usage): re-orders optional arguments and required to natural standard
...
Also renamed is '[POSITIONAL]' => '[ARGS]' to use the more standard
vernacular
Closes #147
2015-07-09 09:51:57 -04:00
Kevin K
83ac35d783
chore: increase version
2015-07-08 15:03:23 -04:00
Kevin K.
de7e5f144f
Merge pull request #152 from kbknapp/issue-151
...
fix: allows empty values when using --long='' syntax
2015-07-08 15:02:33 -04:00
Kevin K
083f82d333
fix: allows empty values when using --long='' syntax
...
Closes #151
2015-07-08 14:57:28 -04:00
Kevin K
b20a93aa1e
chore: increase version
2015-07-07 20:20:45 -04:00
Kevin K.
6bb0576a72
Merge pull request #150 from kbknapp/issue-149
...
Issue 149
2015-07-07 20:14:38 -04:00
Kevin K
938f7f0134
docs(README.md): adds new features to what's new list
2015-07-07 20:14:23 -04:00
Kevin K
1528038fbb
chore: silence macro definition warnings
2015-07-07 20:06:15 -04:00
Kevin K
753125282b
feat: args can now be parsed from arbitrary locations, not just std::env::args()
2015-07-07 19:55:41 -04:00
Kevin K.
884bee3654
Merge pull request #148 from Keats/master
...
docs(readme): use with_name for subcommands
2015-07-06 23:33:26 -04:00
Vincent Prouillet
28b7e3161f
docs(readme): use with_name for subcommands
...
::new doesn't exist anymore
2015-07-07 04:27:53 +01:00
Kevin K.
d55c021528
Merge pull request #144 from SShrike/patch-1
...
docs: fixes typos
2015-06-30 05:51:24 -04:00
Severen Redwood
3e8891c00b
Fix typos in the documentation for the clap::App
struct
2015-06-30 19:47:57 +12:00
Severen Redwood
2614a0fa8c
Fix typos in the documentation for the .help()
method
2015-06-30 19:21:30 +12:00
Kevin K
4728dd67c5
chore: increase version
2015-06-29 22:29:01 -04:00
Kevin K.
853d62f553
Merge pull request #143 from kbknapp/issue-140
...
Issue #140 , #141 , and #85
2015-06-29 22:27:09 -04:00