Commit graph

2017 commits

Author SHA1 Message Date
William Bain
434ea5ba71 fix(Suggestions): output for flag after subcommand 2017-08-05 12:46:50 -04:00
Kevin K
1ef6e62e1e Merge pull request #1016 from kbknapp/unicode-segmentation-bump
Unicode segmentation bump
2017-07-29 17:07:02 -04:00
Kevin K
517276c6f3
chore: increase version 2017-07-29 15:29:39 -04:00
Kevin K
8699dfc37b
style: changes try-bang macro to questionmark 2017-07-29 14:29:22 -04:00
Kevin K
81b2946d14
chore: updates minimum required Rust to 1.13.0 in Travis config 2017-07-29 14:04:54 -04:00
Kevin K
cd7b40a21c
imp: bumps unicode-segmentation to v1.2 2017-07-29 14:01:55 -04:00
Kevin K
30b79d8764 Merge pull request #1009 from mgeisler/textwrap-0.7.0
perf: update textwrap to version 0.7.0
2017-07-29 13:43:04 -04:00
Kevin K
f3be58ec41 Merge pull request #1006 from kieraneglin/master
Fixed grammar and improved formatting of github issue template
2017-07-29 13:42:17 -04:00
Martin Geisler
c2d4e63756 perf: update textwrap to version 0.7.0
This version of textwrap uses a new wrapping algorithm that allocates
fewer strings on the heap.

The 05_ripgrep benchmarks shows a performance improvement of 3-15%.
The build_help_long benchmark benefits the most since it uses longer
help texts.
2017-07-22 17:17:40 +02:00
Kieran
965dff64c2 Merge branch 'master' into master 2017-07-21 09:47:20 -07:00
Kevin K
76869a0d68 chore: fix increase version 2017-07-21 09:59:01 -04:00
Kevin K
78498bd82c chore: adds CI badges to crates.io 2017-07-21 09:56:06 -04:00
Kevin K
00f8d28ab4 chore: increase version 2017-07-21 09:56:06 -04:00
Jake Goulding
1b35ea36c4 Fix up typo and minor grammar 2017-07-21 09:40:43 -04:00
Jordan Danford
4a9acd6d9b Fix documentation for print_long_help, trim whitespace 2017-07-21 09:40:29 -04:00
kennytm
fb7d6231f1 impl Default for Values + OsValues for any lifetime. 2017-07-21 09:40:06 -04:00
Markus Westerlind
4030c5529d Tell docs.rs about the yaml feature
All the other features are either irrelevant, for nightly or already included by default so this should build with all features.

https://github.com/onur/docs.rs/pull/73

Fixes #911
2017-07-21 09:39:44 -04:00
messense
2c86c8eb4c Make -- mandatory for the slop example 2017-07-21 09:39:24 -04:00
Kieran
ef94d4898b Fixed grammar and improved formatting of github issue template 2017-07-19 20:10:23 -07:00
Kevin K
e27a6ffbde chore: increase version
* chore: disables mention-bots finding reviewers and pinging tons of people

* docs(README.md): added a warning about using ~ deps

* chore: increase version
2017-06-19 22:57:54 -04:00
Kevin K
d02e24a970 Merge pull request #980 from little-dude/flag
Suggest to use flag after a sub-command
2017-06-16 10:28:41 -04:00
Kevin K
2b144cf165 Merge pull request #985 from little-dude/clippy
Some clippy fixes
2017-06-16 10:24:01 -04:00
Corentin Henry
e8518cf07d tests(Suggestions): update tests for subcommand suggestions 2017-06-12 08:03:39 -07:00
Corentin Henry
2671ca7260 imp(Suggestions): suggests to use flag after subcommand when applicable
If an invalid flag is found and this flag is a valid flag for a
sub-command, suggest using it after the subcommand

fix https://github.com/kbknapp/clap-rs/issues/927
2017-06-12 08:03:14 -07:00
Corentin Henry
9d5482ebf6 clippy: block_in_if_condition_stmt 2017-06-12 07:56:22 -07:00
Corentin Henry
35306ed9f1 clippy: single_match 2017-06-12 07:56:22 -07:00
Corentin Henry
cda5cfd1a8 clippy: explicit_iter_loop 2017-06-12 07:56:22 -07:00
Corentin Henry
2859af0e52 clippy: block_in_if_condition_stmt 2017-06-12 07:56:22 -07:00
Corentin Henry
2121c6b908 clippy: ignore too_many_arguments 2017-06-12 07:56:22 -07:00
Corentin Henry
f54b9dce74 clippy: ignore useless_let_if_seq 2017-06-12 07:56:22 -07:00
Corentin Henry
97394164c7 clippy: useless_let_if_seq 2017-06-12 07:56:22 -07:00
Corentin Henry
6e96447c50 clippy: or_fun_call 2017-06-12 07:56:22 -07:00
Corentin Henry
23e2f2b07b remove vec_remove!
it is used only once in the whole codebase and is only three lines long
2017-06-12 07:56:22 -07:00
Corentin Henry
80900a388c clippy: op_ref in vec_remove! 2017-06-12 07:56:22 -07:00
Corentin Henry
bc2103c643 clippy: op_ref for _find_by_long! 2017-06-12 07:56:22 -07:00
Corentin Henry
26f8ce01b9 clippy: op_ref in find_by_name! 2017-06-12 07:56:22 -07:00
Corentin Henry
adb253e63d clippy: op_ref 2017-06-12 07:56:22 -07:00
Corentin Henry
1deff7a44a clippy: identity_op 2017-06-12 07:56:19 -07:00
Corentin Henry
8578f56568 clippy: if_same_then_else 2017-06-12 07:53:55 -07:00
Corentin Henry
f86edf48b1 clippy: needless_borrow 2017-06-12 07:53:55 -07:00
Corentin Henry
dfcefea6fa clippy: collapsible_if 2017-06-12 07:53:55 -07:00
Corentin Henry
852e9ceb18 clippy: let_and_return 2017-06-12 07:53:55 -07:00
Corentin Henry
2f0e511ab6 clippy doc_markdown 2017-06-12 07:53:55 -07:00
Corentin Henry
be6ce71d33 fix unused_macros warnings for non-yaml build 2017-06-12 07:53:55 -07:00
Corentin Henry
e29590527a fix dead_code warning 2017-06-12 07:53:55 -07:00
Corentin Henry
548bf64e4a remove unused macros 2017-06-12 07:53:55 -07:00
Vanessa McHale
a6c6e81529 typo fixed 2017-06-10 17:43:09 -04:00
Vanessa McHale
0da5820e3b fixes bug with unicode widths 2017-06-10 17:43:09 -04:00
Corentin Henry
f5926296e1 fix appveyor build 2017-06-10 17:39:49 -04:00
Dru Sellers
4824fccfb9 Add slop example 2017-06-10 17:38:53 -04:00