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
Tshepang Lekhonkhobe
7c60c62ac5
doc: improve explanation of "subcommands"
2017-07-19 23:53:56 +02:00
William Yao
a7224b5255
move assert
2017-07-17 11:45:31 +02:00
William Yao
443cc3e145
move augment_clap
into inherent impl
2017-07-17 11:45:31 +02:00
William Yao
f6bd33d5de
update structopt-derive documentation to reflect unit subcommands change
2017-07-17 11:45:31 +02:00
William Yao
810831cfe1
add support for unit-variant subcommands
2017-07-17 11:45:31 +02:00
William Yao
91fb4a40e4
allow for documentation to be placed on subcommands
2017-07-17 11:45:31 +02:00
William Yao
3772285091
add extra Arg methods in doc so examples still work
2017-07-17 11:45:31 +02:00
William Yao
e05c792f65
fix typoes
2017-07-17 11:45:31 +02:00
William Yao
c3815cdd81
remove unnecessary Option in documentation [ci skip]
2017-07-17 11:45:31 +02:00
William Yao
746f8e6a34
bump versions to 0.1.0
2017-07-17 11:45:31 +02:00
William Yao
5be4fb38e4
bump versions of structopt in README, fix typo
2017-07-17 11:45:31 +02:00
William Yao
6f385b4adb
add missing backticks (oops)
2017-07-17 11:45:31 +02:00
William Yao
593f042c77
bump versions of structopt and structopt-derive
2017-07-17 11:45:31 +02:00
William Yao
a21a01acb2
add note about using doc comments for help messages ( texitoi/structopt#1 )
2017-07-17 11:45:31 +02:00
William Yao
12e88e1ea8
note about optional subcommands
2017-07-17 11:45:31 +02:00
William Yao
a8e466c7bb
add documentation in structopt-derive about how to use subcommands
2017-07-17 11:45:31 +02:00
William Yao
f68a35c3a1
preliminary editing of structopt-derive documentation
2017-07-17 11:45:31 +02:00
William Yao
f9fc923993
add link to structopt-derive documentation from structopt crate
2017-07-17 11:45:31 +02:00
William Yao
a20a9e7be0
fix hyphenated subcommands
2017-07-17 11:45:31 +02:00
William Yao
b295234d5d
add test suite for nested subcommands ( texitoi/structopt#1 )
2017-07-17 11:45:31 +02:00
William Yao
91e2d28e81
allow for optional subcommands ( texitoi/structopt#1 )
2017-07-17 11:45:31 +02:00
William Yao
baa96165f1
ignore unused matches for empty subcommands ( texitoi/structopt#1 )
2017-07-17 11:45:31 +02:00
William Yao
c010cf0266
add ability to put in nested subcommands ( texitoi/structopt#1 )
2017-07-17 11:45:31 +02:00
William Yao
e00e263f23
add test for subcommand parsing ( texitoi/structopt#1 )
2017-07-17 11:45:31 +02:00
William Yao
00c659b9c6
lifetime fix
2017-07-17 11:45:31 +02:00
William Yao
30a3b3145c
prototype enum stuff?
2017-07-17 11:45:31 +02:00
William Yao
fd67b01466
factor out code generation that's needed for enums
2017-07-17 11:45:31 +02:00
William Yao
08aeb9b1fb
skeleton of enum impl
2017-07-17 11:45:31 +02:00
William Yao
00f313b5d1
split impl_structopt
into struct and enum branches
2017-07-17 11:45:31 +02:00
William Yao
a4826404f3
separate creating app and adding arguments
2017-07-17 11:45:31 +02: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
Guillaume Pinot
859ac77f4e
Update to 0.0.5 (oups...)
2017-06-16 17:12:21 +02: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