Will Murphy
74421bb8b7
bump version on term size to 1.0.0-beta1
2018-03-06 06:36:59 -05:00
Kevin K
1567d80885
Merge pull request #1198 from willmurphyscode/port-1161-fix-to-v3
...
Port 1161 fix to v3
2018-03-04 16:55:18 -05:00
Will Murphy
23a48ea03a
vec_map must be optional
...
This adds a keys method to the internal implementation of vec_map and
adds conditional compilation in the parser to make the parser compile
with or without the vec_map dependency.
2018-03-04 15:50:35 -05:00
Will Murphy
3401e6a3ec
clean up whitespace
2018-03-01 06:55:24 -05:00
Will Murphy
5ea7eab427
Port 1161 fix to v3
...
Copy the fix from https://github.com/kbknapp/clap-rs/pull/1162 into
the v3 parser, and add a test to protect against regressions in the
expected behavior of example 22.
2018-03-01 06:52:30 -05:00
Guillaume Pinot
f26ce8b769
v0.2.4
2018-02-25 11:24:21 +01:00
Christopher Durham
72784f3bd4
Re-license to Apache-2.0/MIT ( #71 )
2018-02-25 11:22:24 +01:00
Guillaume Pinot
f5338997d1
Fix #76
2018-02-24 12:11:08 +01:00
Guillaume Pinot
7251a0a943
Fix compilation with #![deny(missig_docs]
...
fix #74
2018-02-24 10:55:13 +01:00
Guillaume Pinot
c7447cd063
An empty line in a doc comment will result in a double linefeed
...
fix #69
2018-02-16 23:11:33 +01:00
Guillaume Pinot
78d4aa00a0
Use r#"str"#
when appropriate
2018-02-15 16:19:52 +01:00
Kevin K
bd08e73e54
Merge pull request #1182 from kbknapp/v3-dev
...
V3 dev
2018-02-14 13:41:39 -05:00
Kevin K
e0b891d784
style: removes unused imports
2018-02-13 15:47:31 -05:00
Kevin K
6971624428
imp(Deps): doesnt compile ansi_term on Windows since its not used
...
Before this commit, ansi_term was compiled anytime the `color` feature
was used. However, on Windows the `color` feature is ignored. Even so
ansi_term was compiled, and just not used. This commit fixes that by
only compiling ansi_term on non-Windows targets. Thanks to @retep998 for
the gudiance.
Closes #1155
2018-02-13 15:43:45 -05:00
Kevin K
cdfdbfffb5
tests(Bash Completions): updates the bash completions to the new file completion fallback
2018-02-13 15:42:48 -05:00
Kevin K
79a210472c
imp(Bash Completions): instead of completing a generic option name, all bash completions fall back to file completions UNLESS Arg::possible_values was used
2018-02-13 15:42:47 -05:00
Guillaume Pinot
12acd6121a
Fix #66
2018-02-12 23:46:15 +01:00
Kevin K
14a2dadc31
Merge pull request #1177 from kbknapp/v3-dev
...
V3 dev
2018-02-12 14:56:59 -05:00
Kevin K
08dfdc877b
style: changes values->possible values in help messages as well as errors
2018-02-12 14:52:29 -05:00
etopiei
973022184e
Tests pass now
2018-02-12 14:39:55 -05:00
etopiei
5220122f72
Adjusted error message, as specified in Issue #1160
2018-02-12 14:39:51 -05:00
Guillaume P
615a8d324e
Update CHANGELOG.md
2018-02-11 23:53:57 +01:00
Guillaume Pinot
a488c92524
Fix #65
2018-02-11 22:28:25 +01:00
Guillaume Pinot
b80dffcc47
fix a bug around enum tuple and the about message in the global help
2018-02-11 22:24:41 +01:00
Sergio Benitez
2fadb8a20e
Use proper path to 'PathBuf' in README
...
`PathBuf` is in `std::path`, not `std::fs`.
2018-02-11 10:00:08 +01:00
Kevin K
e630a848d2
Merge pull request #1172 from kbknapp/v3-dev
...
V3 dev
2018-02-10 15:45:43 -05:00
Kevin K
dc098e19a2
tests(AllArgsOverrideSelf): adds tests for AllArgsOverrideSelf
2018-02-10 15:43:39 -05:00
Kevin K
7c23bee6b8
setting(AllArgsOverrideSelf): adds a convenience setting to say all args override themselves
2018-02-10 15:42:44 -05:00
Guillaume Pinot
1fad3f8bb5
Set the date of v0.2.0 in the CHANGELOG.md
2018-02-10 21:05:42 +01:00
Guillaume Pinot
1383d64d10
correct typo
2018-02-10 20:57:33 +01:00
Guillaume Pinot
53d520264f
Rename from_any
to from_iter
2018-02-10 20:56:16 +01:00
Kerollmops
28bee51ec1
Add informations about StructOpt::from_any
method to the changelog
2018-02-10 19:37:06 +01:00
Kerollmops
12ec0ba5e0
Add the from
method to parse from any Iterator
2018-02-10 19:37:06 +01:00
Guillaume Pinot
c488ebf3ae
Add COPYING to structopt-derive
...
Fix #61
2018-02-10 14:27:32 +01:00
Kevin K
da1ede55f5
Merge pull request #1171 from kbknapp/v3-dev
...
V3 dev
2018-02-09 23:42:48 -05:00
Kevin K
e1d1c06d45
chore: updates version sync in readme
2018-02-09 23:40:55 -05:00
Kevin K
237c2bdff4
tests(Self Overrides): adds tests for args that override themselves
2018-02-09 23:35:14 -05:00
Kevin K
db237f3ed2
docs(Self Overrides): adds docs to better explain overrides_with
2018-02-09 23:34:58 -05:00
Kevin K
4204787e0f
imp(Self Overrides): allows args to override themselves properly
2018-02-09 23:34:36 -05:00
Kevin K
f8e6876415
chore: adds some idea project files to the ignore list
2018-02-09 23:33:40 -05:00
Kevin K
e1b10f60aa
chore(Cargo.toml): updates with new excludes to trim package and new badges for crates.io
2018-02-05 16:23:00 -05:00
Guillaume Pinot
e046a86f39
Add a link to the changelog in the readme
2018-02-04 19:29:40 +01:00
Guillaume Pinot
3e7d843d82
Add test for the options
2018-02-04 19:27:45 +01:00
Guillaume Pinot
43ef963e65
Add an example for enum in arg using clap
...
Fix #42
2018-02-04 19:09:43 +01:00
Guillaume Pinot
0d2c765e4c
Fix a bug arround required(true)
2018-02-04 19:07:29 +01:00
Guillaume P
b33ca47ab4
Update README.md
2018-02-04 18:43:53 +01:00
Guillaume Pinot
bc02743249
Update syn and friends
2018-02-04 18:33:59 +01:00
Guillaume Pinot
0d8c4ae23b
Update CHANGELOG.md
2018-02-04 15:39:27 +01:00
Guillaume Pinot
d74eee5e46
Change _raw
suffix by raw()
wrapping
2018-02-04 15:39:27 +01:00
Guillaume Pinot
e592f3ef9f
Rewrite attributes handling, failing when attributes are not used
2018-02-04 15:39:27 +01:00