Commit graph

1295 commits

Author SHA1 Message Date
Kevin K
b261783c71 refactor(UsageParser): moves code for readability 2015-11-03 01:59:08 -05:00
Kevin K
a4c6272e38 tests(Exit Codes): adds some formatting and exit code testing 2015-11-03 01:03:02 -05:00
Kevin K
4767834113 chore: increase version 2015-11-02 23:23:27 -05:00
Kevin K
89b51fdf8b fix(Error Status): fixes bug where --help and --version return non-zero exit code 2015-11-02 22:56:05 -05:00
Homu
c748cef855 Auto merge of #334 - ogham:master, r=Vinatorul
Fix a bunch of typos in comments

Hi,

I went through and fixed a few typos in comments here and there. I've changed the comments in the code, and the readme, but nowhere else. No code has changed other than doc comments, and the tests still pass!
2015-11-02 23:17:55 +09:00
Ben S
00b61ae226 Fix a bunch of typos in comments 2015-11-01 14:02:37 +00:00
Homu
aa02706d04 Auto merge of #332 - jimmycuadra:arg-docs, r=kbknapp
Improvements to clap::Arg docs

Some fairly minor improvements to the docs for `Arg`. Some typo fixes, and more substantially, rewritten docs for the `multiple` method to clarify that it does actually work alongside `takes_value` and how the two behave together.
2015-10-30 14:46:55 +09:00
Jimmy Cuadra
434f497ab6 docs: Clarify behavior of Arg::multiple with options. 2015-10-29 22:40:47 -07:00
Jimmy Cuadra
c1f66b5de7 docs: Fix typos and improve grammar. 2015-10-29 22:40:10 -07:00
Homu
7c55a92321 Auto merge of #331 - kbknapp:v1.4.6, r=kbknapp
chore: increase version
2015-10-29 20:38:05 +09:00
Homu
e047ab4fca Auto merge of #330 - kbknapp:issue-329, r=kbknapp
Issue 329
2015-10-29 18:22:18 +09:00
Homu
8a59c3f1d6 Auto merge of #328 - kbknapp:lints-update, r=kbknapp
Lints update
2015-10-29 15:55:38 +09:00
Kevin K
fd10aa7d64 chore: increase version 2015-10-29 01:36:12 -04:00
Kevin K
62679d8d8a chore: adds new contributors 2015-10-29 01:14:22 -04:00
Kevin K
1a8bf31e7a docs: adds comparison in readme
Closes #325
2015-10-29 01:07:43 -04:00
Kevin K
27df8b9d98 fix(Versionless SubCommands): fixes a bug where the -V flag was needlessly built
Closes #329
2015-10-29 00:23:09 -04:00
Kevin K
e639adad22 style: removes commented out code 2015-10-28 11:00:31 -04:00
Kevin K
d0c13d2960 style: rustfmt run 2015-10-28 10:56:10 -04:00
Kevin K
f161ffa470 chore: updates and implements lint findings 2015-10-28 10:55:26 -04:00
Kevin K
aff89d579b feat: allows parsing without a binary name for daemons and interactive CLIs
Closes #318
2015-10-28 06:45:49 -04:00
Kevin K
c47025dca2 fix(Safe Matches): using 'safe' forms of the get_matches family no longer exit the process
Closes #256
2015-10-28 05:55:04 -04:00
Kevin K
c9a9548a8f fix(Option Args): fixes bug with args and multiple values
Closes #323
2015-10-28 04:54:28 -04:00
Kevin K
40ed2b50c3 fix(POSIX Overrides): fixes bug where required args are overridden 2015-10-28 04:51:42 -04:00
Kevin K
e3be87cfc0 fix(Help and Version): only builds help and version once 2015-10-28 00:25:40 -04:00
Homu
3fcdc6f334 Auto merge of #322 - kbknapp:dev-vin, r=kbknapp
moving to travis crates infrastructure

The idea is to get rid of `sudo` in the script, so `travis` can run builds on new crates infrastructure. It will increase build speed and decrease load on `travis`.
2015-10-27 23:34:18 +09:00
Alexander Kuvaev
6f186a57d1 chore: moving to travis crates infrastructure 2015-10-27 17:06:15 +03:00
Alexander Kuvaev
16bc2519db chore: stop using sudo 2015-10-27 16:53:45 +03:00
Homu
9a5c2f6674 Auto merge of #320 - N-006:patch-1, r=kbknapp
chore: use newer style in Cargo.toml
2015-10-21 16:05:57 +09:00
Vlad
52ac3e6e92 chore: format 2015-10-19 15:00:13 +03:00
Vlad
016b8a7c1b chore: use newer style in Cargo.toml 2015-10-19 14:46:24 +03:00
Homu
9f488d7000 Auto merge of #317 - kbknapp:issue-309, r=Vinatorul
fix(Errors): tones down quoting in some error messages

Closes #309 

Turns out it's just a single message which quotes outside a sentence.
2015-10-14 05:37:57 +09:00
Kevin K
1e2fffe34c tests: updates tests to less quoty errors 2015-10-13 14:30:35 -04:00
Kevin K
34ce59ede5 fix(Errors): tones down quoting in some error messages
Closes #309
2015-10-13 13:46:35 -04:00
Homu
6bd1bd8ca8 Auto merge of #315 - kbknapp:v1.4.5, r=kbknapp
chore: increase version
2015-10-07 04:31:07 +09:00
Kevin K
ed62644819 chore: increase version 2015-10-06 15:28:55 -04:00
Homu
cf37cfb53e Auto merge of #314 - kbknapp:issue-277-take3, r=Vinatorul
fix: fixes crash on invalid arg error

Once this merges I'm going to ahead and put out 1.4.5 since this fixes a crash.

Relates to #277
2015-10-07 04:19:50 +09:00
Kevin K
c78ce128eb fix: fixes crash on invalid arg error 2015-10-06 15:08:59 -04:00
Alexander Kuvaev
180fcc03f7 Merge pull request #313 from kbknapp/v1.4.4
V1.4.4
2015-10-06 19:34:09 +03:00
Kevin K
2001cf4856 chore: increase version 2015-10-06 11:16:23 -04:00
Kevin K
ace1239f40 chore: updates README.md with new features 2015-10-06 11:16:14 -04:00
Homu
2cc65cd906 Auto merge of #312 - kbknapp:issue-277-refactor, r=sru
refactor(Errors): refactors how errors are created for deduplication

This should **finally** fix all the cases for @elszben since there's now only a single way to determine what goes in the usage string...not 20 😄

Closes #277
2015-10-06 13:48:32 +09:00
Kevin K
6b90f1adad refactor(Errors): refactors how errors are created for deduplication
Closes #277
2015-10-05 21:47:39 -07:00
Homu
8309232e6b Auto merge of #311 - kbknapp:issue-307, r=sru
Issue 307
2015-10-06 12:28:21 +09:00
Kevin K
13f6101a87 tests(Unified Help): uses new sorted category in tests
Closes #307
2015-10-05 20:37:49 -04:00
Kevin K
2a223dad82 fix(Unified Help): sorts both flags and options as a unified category 2015-10-05 20:36:30 -04:00
Kevin K
b76a8b548d Merge branch 'master' of github.com:kbknapp/clap-rs 2015-10-05 08:28:38 -04:00
Homu
32d37f1b80 Auto merge of #306 - birkenfeld:master, r=Vinatorul
fix: grammar error in some conflicting option errors
2015-10-04 17:47:22 +09:00
Georg Brandl
e73b07e194 fix: grammar error in some conflicting option errors 2015-10-04 10:43:59 +02:00
Homu
0fbd4575a3 Auto merge of #305 - kbknapp:issue-277-take2, r=sru
Issue 277 take2
2015-10-04 03:38:54 +09:00
Kevin K
72b453dc17 fix(Usage): fixes a bug where required args aren't filtered properly
Closes #277
2015-10-03 09:22:15 -04:00