Kevin K
c5bf7ddc8c
feat(Unicode): allows non-panicing on invalid unicode characters
2015-09-21 21:58:25 -04:00
Homu
3d0199da88
Auto merge of #263 - Vinatorul:dev, r=kbknapp
...
fix(ArgGroup) added asserts to help users to configure clap properly
Also I've added tests for this change
Now you will get
```
ArgGroup %Your_ArgGroup_Name% doesn't contain any args
```
instead of
```
thread '<main>' panicked at 'arithmetic operation overflowed'
```
And
```
ArgGroup %Your_ArgGroup_Name% can not have same name as arg inside it
```
instead of
```
thread '<main>' has overflowed its stack
```
2015-09-22 07:56:09 +09:00
Alexander Kuvaev
4ed03cde73
Merge branch 'master' into dev
2015-09-21 23:11:40 +03:00
Homu
b8e47f151b
Auto merge of #264 - Vinatorul:chore, r=Vinatorul
...
chore: add new contributors to list
2015-09-22 05:01:20 +09:00
Alexander Kuvaev
760615e01f
chore: add new contributors to list
2015-09-21 22:49:31 +03:00
Alexander Kuvaev
a87c5cd660
fix(ArgGroup) added asserts to help users to configure clap properly
...
Also I've added tests for this change
2015-09-21 22:33:55 +03:00
Homu
5b7a4a03bb
Auto merge of #261 - kbknapp:issue-254, r=kbknapp
...
docs(Arg): unhides fields of the Arg struct
2015-09-21 12:43:29 +09:00
Kevin K
931aea8842
docs(Arg): unhides fields of the Arg struct
2015-09-20 20:34:20 -04:00
Homu
398b46756b
Auto merge of #260 - nelsonjchen:typo_fixes, r=kbknapp
...
Various typo fixes
Some various typo fixes and commas and stuff.
I did change one thing though. The portion in the README that's affected by 34b6eb2 still refers to `clap` as a sub 1.0 library. I took that out, but if that is stepping over the line, I can take it out.
2015-09-21 09:03:13 +09:00
Nelson Chen
7bf65c1bf7
Add Contributor
2015-09-20 17:01:51 -07:00
Nelson Chen
f85640f9f6
docs: fixes various typos and spelling
2015-09-20 16:59:32 -07:00
Alexander Kuvaev
40104afe9d
Merge pull request #257 from alex-gulyas/fix-missing-flush
...
fix(App): flush the buffer in App::print_version()
2015-09-19 16:29:40 +03:00
Alex Gulyás
cbc42a37d2
fix: flush the buffer in App::print_version()
2015-09-18 23:58:05 +02:00
Alexander Kuvaev
320209c952
Merge pull request #255 from Vinatorul/tests
...
Some new tests for positionals
2015-09-18 07:45:19 +03:00
Alexander Kuvaev
eb65a07a91
tests: some new tests for positionals
2015-09-17 22:20:56 +03:00
James McGlashan
f9efb54c1d
Merge pull request #253 from daboross/patch-1
...
Replace crate_version!() macro with simpler call; r=james-darkfox
2015-09-13 13:58:47 +10:00
Dabo Ross
ffe1458882
Replace crate_version!() macro with simpler call
...
As of https://github.com/rust-lang/cargo/pull/1094 , cargo publishes the full crate version as `CARGO_PKG_VERSION`, rather than *just* the parts of it.
This replaces the more complicated call with simply `env!("CARGO_PKG_VERSION").to_owned()`.
2015-09-12 20:22:01 -07:00
James McGlashan
f76e4fd833
Merge pull request #250 from kbknapp/new-benches
...
PRs accepted out of order
2015-09-11 14:58:47 +10:00
James McGlashan
1316d211c2
Merge branch 'master' into new-benches
2015-09-11 14:50:09 +10:00
Kevin K.
091f096066
Merge pull request #248 from james-darkfox/new-benches
...
fix: Macro benchmarks
2015-09-10 14:37:46 -04:00
Kevin K.
400af3ca3a
Merge pull request #246 from kbknapp/new-benches
...
New benches
2015-09-10 14:22:36 -04:00
James McGlashan
13712da1d3
fix: Macro benchmarks
2015-09-10 22:23:58 +10:00
Kevin K
cf99d7aad0
Merge branch 'master' into new-benches
2015-09-09 22:19:14 -04:00
Kevin K
87f3a47eaa
tests: adds benches for builder vs from_usage
2015-09-09 22:15:25 -04:00
Alexander Kuvaev
6f3f80ec33
Merge pull request #243 from kbknapp/Readme_fixes
...
Quick examples fixes
2015-09-10 00:54:10 +03:00
Alexander Kuvaev
1e805a1394
Merge branch 'master' into Readme_fixes
2015-09-10 00:43:16 +03:00
Alexander Kuvaev
e5e4244f0a
Merge pull request #244 from sru/toc
...
Table of Contents
2015-09-10 00:42:56 +03:00
SungRim Huh
44fe789a66
chore(README.md): add table of contents
2015-09-09 15:47:55 -05:00
SungRim Huh
283588c2b7
chore(README.md): shorten 'How to Contribute' section
2015-09-09 15:42:55 -05:00
Alexander Kuvaev
f587fb8319
chore: update README.md
2015-09-09 16:26:57 +03:00
Alexander Kuvaev
4ba6249c3c
examples: add clap_app quick example
2015-09-09 16:21:59 +03:00
Kevin K.
87c4743460
Merge pull request #241 from kbknapp/incver
...
chore: increase version
2015-09-09 00:34:53 -04:00
Kevin K
07f6d63e17
chore: increase version
2015-09-09 00:00:17 -04:00
Kevin K.
60df15c6f5
Merge pull request #240 from kbknapp/issue-231
...
Issue 231 + Others
2015-09-08 22:57:23 -04:00
Kevin K.
c0c1613188
Merge branch 'master' into issue-231
2015-09-08 22:49:07 -04:00
Kevin K.
3d1bc93867
Merge pull request #238 from james-darkfox/builder-macro
...
feat: Builder macro to assist with App/Arg/Group/SubCommand building
2015-09-08 22:46:44 -04:00
Kevin K
4a6ad4e73a
tests(App Help): tests writing of App help message
2015-09-08 22:39:31 -04:00
Kevin K
1e6403b6a8
feat(Errors): allows consumers to write to stderr and exit on error
2015-09-08 22:38:44 -04:00
Kevin K
56b95f3208
feat: allows printing help message by library consumers
2015-09-08 22:38:07 -04:00
James McGlashan
a99e96d224
New contributor!
2015-09-09 12:28:16 +10:00
Kevin K
f9c04aeb2c
tests(App): adds print_help test
2015-09-08 21:03:20 -04:00
Kevin K
c92a98fb67
tests(Hidden Args): fixes tests to include hidden field
2015-09-08 21:02:54 -04:00
Kevin K
2cab4d0334
feat: allows defining hidden args and subcmds
...
Closes #231
2015-09-08 20:45:14 -04:00
James McGlashan
443841b012
feat: Builder macro to assist with App/Arg/Group/SubCommand building
2015-09-08 22:53:31 +10:00
Kevin K.
ebdd73f37e
Merge pull request #237 from kbknapp/incver
...
chore: increase version
2015-09-07 21:45:34 -04:00
Kevin K
211e9d7ab3
chore: increase version
2015-09-07 21:37:17 -04:00
Kevin K.
6f97bd073c
Merge pull request #236 from kbknapp/interactive-cli
...
feat: adds abiltiy not consume self when parsing matches and/or exit …
2015-09-07 21:26:57 -04:00
Kevin K
94003db4b5
feat: adds abiltiy not consume self when parsing matches and/or exit on help
2015-09-07 21:18:00 -04:00
Kevin K.
f9144c978b
Merge pull request #233 from kbknapp/readme
...
chore: fixes spelling in readme
2015-09-07 11:20:38 -04:00
Kevin K
26899e95cd
chore: fixes spelling in readme
2015-09-06 22:17:17 -04:00