Kevin K
3183279acd
Merge branch 'master' into rustdoc
2015-10-01 17:30:47 -04:00
Kevin K
34b601be5f
docs: changes doc comments to rustdoc comments
2015-10-01 17:27:29 -04:00
Homu
ec8070d9db
Auto merge of #301 - kbknapp:issue-278, r=Vinatorul
...
Issue 278
2015-10-02 03:40:23 +09:00
Kevin K
0005154bcb
Merge branch 'master' into issue-278
2015-10-01 14:28:09 -04:00
Kevin K
27018b1821
feat(Trailing VarArg): adds opt-in setting for final arg being vararg
...
Closes #278
2015-10-01 14:18:17 -04:00
Kevin K
05414a4b6d
style: removes trailing whitespace
2015-10-01 14:16:02 -04:00
Homu
7b50f76c57
Auto merge of #299 - kbknapp:issue-298, r=Vinatorul
...
fix(Usage Strings): fixes a bug ordering of elements in usage strings
Closes #298
2015-10-02 02:27:49 +09:00
Alexander Kuvaev
914b3326dd
Merge branch 'master' into issue-298
2015-10-01 20:11:24 +03:00
Alexander Kuvaev
cde710f3ea
Merge pull request #300 from kbknapp/depupdate
...
chore: updates yaml-rust dep
2015-10-01 20:11:14 +03:00
Alexander Kuvaev
408253d4ab
Merge branch 'master' into depupdate
2015-10-01 19:53:29 +03:00
Kevin K
0f411c1c3e
Merge branch 'master' into issue-298
...
skip-ci
2015-10-01 12:49:27 -04:00
Kevin K
b85786f7be
chore: updates yaml-rust dep
2015-10-01 12:40:39 -04:00
Homu
c401d489fb
Auto merge of #297 - kbknapp:rustdoc, r=Vinatorul
...
Rustdoc
2015-10-02 01:37:37 +09:00
Kevin K
aaf0d6fe7a
fix(Usage Strings): fixes a bug ordering of elements in usage strings
...
Closes #298
2015-10-01 12:33:37 -04:00
Kevin K
86f9e612b3
Merge branch 'master' into rustdoc
2015-10-01 12:04:08 -04:00
Kevin K
6f9ee181e6
docs(Rustdoc): adds portions of the readme to main rustdoc page
...
Closes #293
2015-10-01 12:03:14 -04:00
Homu
dcfe9652ee
Auto merge of #296 - kbknapp:issue-295, r=kbknapp
...
docs: fixes panic in 14_groups example
Closes #295
2015-10-01 23:37:12 +09:00
Kevin K
945b00a0c2
docs: fixes panic in 14_groups example
...
Closes #295
2015-10-01 10:20:04 -04:00
Homu
edec5ae387
Auto merge of #294 - huonw:no-star, r=Vinatorul
...
Avoid suggesting star dependencies.
A `*` version constraint makes it hard/impossible to release a breaking
change (e.g. clap 2.0) without causing people's code to break. `cargo
update` with a `*` dependency will happily move from (say) 1.4 to 2.0,
even though semver says these may be a breaking change. Using a more
precise dependency constraint gives the crate author more flexibility in
making breaking changes, and makes users of the crate happier if/when
they do happen.
https://github.com/rust-lang/rfcs/pull/1241 contains a bit more
discussion about this.
2015-10-01 22:00:25 +09:00
Huon Wilson
45b101b247
chore: I'm a contributor!
2015-10-01 22:58:27 +10:00
Huon Wilson
d33228f40b
docs: avoid suggesting star dependencies.
...
A `*` version constraint makes it hard/impossible to release a breaking
change (e.g. clap 2.0) without causing people's code to break. `cargo
update` with a `*` dependency will happily move from (say) 1.4 to 2.0,
even though semver says these may be a breaking change. Using a more
precise dependency constraint gives the crate author more flexibility in
making breaking changes, and makes users of the crate happier if/when
they do happen.
https://github.com/rust-lang/rfcs/pull/1241 contains a bit more
discussion about this.
2015-10-01 22:40:28 +10:00
Kevin K
7d0ab22f7f
Merge branch 'master' of github.com:kbknapp/clap-rs
2015-10-01 00:25:34 -04:00
Homu
32c9482a97
Auto merge of #292 - kbknapp:refactor, r=sru
...
Refactor
* Removes trailing whitespace
* Moves all the `bool` fields of `App` into a bitflags field, which also makes it way easier to add new settings and de-bloats the `App` struct a little
* Does the same for the `*Builder` structs
* Notably does **not** use bitfileds for the `Arg` struct...but mainly because it appears some people are using those fields directly...TBD if we'll change that or not.
2015-10-01 13:16:11 +09:00
Kevin K
958ebb8629
refactor: removes legacy panics and fixes grammar
2015-10-01 00:05:41 -04:00
Kevin K
1ac7e99491
tests(AppSettings): adds some additional tests
2015-09-30 23:59:41 -04:00
Kevin K
38ff779749
tests(Hidden Args): adds tests
2015-09-30 23:59:41 -04:00
Kevin K
a9aae2ade4
refactor: fixes a typo in the arg settings
2015-09-30 23:59:40 -04:00
Kevin K
f1031dac13
refactor: fixes a typo in the app settings
2015-09-30 23:59:40 -04:00
Kevin K
7ade4ff6f5
chore: updates dep graph
2015-09-30 23:59:40 -04:00
Kevin K
b01667ebb3
refactor: changes some arg fields to flags internally
2015-09-30 23:59:40 -04:00
Kevin K
7005cf8c47
style: removes trailing whitespace
2015-09-30 23:59:40 -04:00
Kevin K
b733bfbb6a
refactor: adds the hidden setting to AppSettings
2015-09-30 23:59:40 -04:00
Kevin K
ffae52e64b
refactor: refactor app settings into flags
2015-09-30 23:59:40 -04:00
Kevin K
6f2926e794
refactor(ArgBuilders): moves creation of builders to constructors
2015-09-30 23:59:40 -04:00
Kevin K
7224ce0f61
chore: increase version
2015-09-30 23:06:17 -04:00
Homu
b735f44ba0
Auto merge of #291 - kbknapp:v1.4.3, r=Vinatorul
...
chore: increase version
2015-10-01 03:46:09 +09:00
Kevin K
76cad54fa4
chore: increase version
2015-09-30 14:42:41 -04:00
Homu
01daf939b0
Auto merge of #289 - kbknapp:issue-277, r=Vinatorul
...
fix(Help Message): required args no longer double list in usage
Closes #277
2015-10-01 02:57:16 +09:00
Alexander Kuvaev
ed0d30c66d
Merge branch 'master' into issue-277
2015-09-30 20:57:03 +03:00
Homu
42ab5ef1b8
Auto merge of #290 - kbknapp:new-contribs, r=Vinatorul
...
New contribs
2015-10-01 02:47:12 +09:00
Kevin K
7aabaa19f7
chore: fixes broken clog link
2015-09-30 13:04:51 -04:00
Kevin K
9a81d8f2c2
chore: adds new contributors
2015-09-30 13:04:34 -04:00
Kevin K
1412e639e0
fix(Help Message): required args no longer double list in usage
...
Closes #277
2015-09-30 12:54:00 -04:00
Homu
5d7ce3e87b
Auto merge of #288 - kbknapp:issue-287, r=sru
...
fix(Possible Values): possible value validation is restored
Closes #287
2015-09-30 23:55:49 +09:00
Kevin K
f121ae749f
fix(Possible Values): possible value validation is restored
...
Closes #287
2015-09-30 10:23:26 -04:00
Homu
1c5f4f20f4
Auto merge of #286 - grossws:patch-1, r=kbknapp
...
docs: use links to examples instead of plain text
Replaced plain text `example/` and `example/xx_some_example.rs` by links to examples dir and appropriate examples.
2015-09-30 07:02:00 +09:00
grossws
bb4fe23785
docs: use links to examples instead of plain text
...
Replaced plain text `example/` and `example/xx_some_example.rs` by links to examples dir and appropriate examples.
2015-09-29 23:25:15 +03:00
Homu
93521171d1
Auto merge of #283 - kbknapp:issue-279, r=kbknapp
...
Issue 279
Allows accessing values by group name, and checking presence of any arg in a group in matches.
2015-09-29 06:50:03 +09:00
Alexander Kuvaev
e102c1be3f
tests: minor test improvements
2015-09-28 23:28:46 +03:00
Kevin K
af8bfb1610
tests(ArgGroups): adds tests for ArgGroups
...
closes #279
2015-09-28 12:29:57 -04:00