Commit graph

1331 commits

Author SHA1 Message Date
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
Kevin K
c92a4b9eff feat: allows accessing arg values by group name 2015-09-28 12:22:09 -04:00
Homu
5943ec026a Auto merge of #276 - Vinatorul:dev, r=@james-darkfox
chore: update .travis.yml to upload docs with YAML features
2015-09-24 02:48:42 +09:00
Alexander Kuvaev
4737a0809f chore: update .travis.yml to upload docs with YAML features 2015-09-23 20:27:50 +03:00
Homu
58c2c741d2 Auto merge of #273 - kbknapp:inc-ver, r=sru
chore: increase version
2015-09-23 11:18:18 +09:00
Kevin K
203dfcadc1 chore: increase version 2015-09-22 22:05:47 -04:00
Homu
9af30f0b15 Auto merge of #272 - kbknapp:issue-271, r=kbknapp
fix(Conflicts): fixes bug with conflicts not removing required args

Closes #271
2015-09-23 10:15:41 +09:00
Kevin K
e17fcec53b fix(Conflicts): fixes bug with conflicts not removing required args
Closes #271
2015-09-22 15:38:04 -04:00
Homu
b096c4b51f Auto merge of #268 - kbknapp:inc-ver, r=Vinatorul
chore: increase version
2015-09-23 03:04:02 +09:00
Kevin K
f21ecf8535 chore: increase version 2015-09-22 13:28:32 -04:00