Kevin K
150a0433ce
tests: adds tests for using requires_equals and min_values together
2017-09-13 12:27:19 -07:00
Kevin K
10ae208f68
fix: fixes using require_equals(true) and min_values(0) together
...
Closes #1044
2017-09-13 12:26:52 -07:00
Kevin K
0136e991c4
tests: adds tests for App::long_about
2017-09-13 11:41:49 -07:00
Kevin K
a8257ea0ff
fix(Help Message): fixes long_about not being usable
...
Closes #1043
2017-09-13 11:41:25 -07:00
Kevin K
2094c28d15
Merge pull request #1039 from siiptuo/fix-completion-special-characters
...
Escape special characters in zsh and fish completions
2017-09-13 10:58:33 -07:00
Kevin K
e053d4ab0c
Merge pull request #1040 from Fraser999/bugfix
...
fix: avoid panic generating default help msg if term width set to 0 due to issue in textwrap 0.7.0
2017-09-13 10:57:00 -07:00
Tuomas Siipola
87e019fc84
fix: escape special characters in zsh and fish completions
2017-09-12 18:27:29 +03:00
Fraser Hutchison
b3eadb0de5
fix: avoid panic generating default help msg if term width set to 0 due to bug in textwrap 0.7.0
...
upgrade textwrap to 0.8.0 and add regression test
2017-09-07 00:19:08 +01:00
Kevin K
f2266e2389
Merge pull request #1029 from kbknapp/contrib-update
...
chore: updates the contributors list
2017-08-14 23:08:08 -04:00
Kevin K
677b28f5d5
chore: updates the contributors list
2017-08-14 23:06:50 -04:00
Kevin K
f8d21f0cf9
Merge pull request #1028 from kbknapp/sponsors
...
chore: adds a sponsors file
2017-08-14 22:46:55 -04:00
Kevin K
79f8977ff1
Merge pull request #1022 from Phlosioneer/master
...
Fix documentation typo
2017-08-14 22:42:48 -04:00
Kevin K
c04c0aafd6
Merge pull request #1021 from manuel-rhdt/patch-1
...
Fix small typo in Readme
2017-08-14 22:42:08 -04:00
Kevin K
05aec692cb
Merge pull request #1019 from wabain/fix-flag-after-subcommand-suggestion
...
Fix suggestions for flags under subcommands
2017-08-14 22:41:36 -04:00
Kevin K
c56f2f2422
chore: adds a sponsors file
2017-08-14 22:39:58 -04:00
Phlosioneer
4428cb87f3
Fix documentation type
...
"Value" was misspelled "vaue"
2017-08-08 21:48:07 -04:00
Manuel Reinhardt
9d089c1cc0
Fix small typo in Readme
2017-08-08 19:34:31 +02:00
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
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