Commit graph

1698 commits

Author SHA1 Message Date
Kevin K.
9c557ed7cb chore: fixes contributors list 2015-08-15 18:09:57 -04:00
Kevin K
0e9890aa79 chore: adds a contributors list 2015-08-15 18:07:24 -04:00
Kevin K
19c46e1403 chore: fix until clippy on crates.io is updated 2015-08-14 20:58:18 -04:00
Kevin K
db9c68069e Merge branch 'master' of github.com:kbknapp/clap-rs 2015-08-14 20:46:57 -04:00
Kevin K
e58652c1f1 chore: gives proper credit :) 2015-08-14 20:46:49 -04:00
Kevin K.
08abf65b44 Merge pull request #175 from Vinatorul/READMEfix_b
Fixed links in README.md
2015-08-14 20:35:55 -04:00
Kevin K
6dd22079ec chore: gets clippy from crates.io instead of git 2015-08-14 20:34:13 -04:00
Kevin K
badde961ee chore: fix changelog version 2015-08-14 20:32:04 -04:00
Kevin K
b811a1c005 chore: increase version 2015-08-14 20:30:37 -04:00
Kevin K
0349654717 docs: updates docs for new features 2015-08-14 20:25:21 -04:00
Kevin K
4a00e2510d imp(AppSettings): adds ability to add multiple settings at once 2015-08-14 20:17:14 -04:00
Alexander Kuvaev
6d9837ad9a fix: fixed links in cargo and license buttons 2015-08-15 02:39:50 +03:00
Kevin K.
3b020f9e42 Merge pull request #174 from kbknapp/issue-170
feat(Args): allows for custom argument value validations to be defined
2015-08-14 19:39:42 -04:00
Kevin K.
b75f62a2fd Merge pull request #173 from Vinatorul/issue169
Replaced some application settings with enum variants
2015-08-14 19:36:59 -04:00
Alexander Kuvaev
7df170d7f4 fix: fixed misspell and enum name 2015-08-15 02:11:20 +03:00
Kevin K
84ae2ddbce feat(Args): allows for custom argument value validations to be defined
Closes #170
2015-08-14 18:46:13 -04:00
Alexander Kuvaev
ade367780c docs: fixed docs for previous changes 2015-08-15 01:16:35 +03:00
Alexander Kuvaev
dc3ada7386 fix: fixed use for clap crate 2015-08-15 01:15:47 +03:00
Alexander Kuvaev
618dc4e2c2 feat: Replace application level settings with enum variants 2015-08-15 00:14:59 +03:00
Kevin K.
23aca97072 Merge pull request #172 from kbknapp/clippy
imp: code corrections thanks to rust-clippy
2015-08-14 00:25:26 -04:00
Kevin K
8a2cd7f95f imp: code corrections thanks to rust-clippy 2015-08-14 00:21:16 -04:00
Kevin K
b747f15945 chore: increase version 2015-08-01 00:55:52 -04:00
Kevin K.
b21a8ecb43 Merge pull request #171 from kbknapp/double-fix
Double fix
2015-08-01 00:54:54 -04:00
Kevin K
fe96b39339 test: update run_tests.py to new help message 2015-08-01 00:49:08 -04:00
Kevin K
d63c013631 fix: fixes two bugs in App when printing newlines in help and subcommands required error 2015-08-01 00:44:20 -04:00
Kevin K
62f283a7ca chore: increase version 2015-07-29 18:32:37 -04:00
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