Ed Page
c5ace9aaa6
docs(derive): Clarify what can be used with flatten
2022-01-10 08:03:59 -06:00
Ed Page
fe56bb112d
doc(derive): Clarify need to do long_about = None
2022-01-10 07:25:54 -06:00
Ed Page
ef823bbeaf
chore: Release
2022-01-05 16:28:24 -06:00
Ed Page
0238a579e1
docs: Update changelog
2022-01-05 16:27:11 -06:00
Ed Page
ad55cd50f5
Merge pull request #3264 from epage/external
...
fix(parser): Loosen asserts for now
2022-01-05 16:18:33 -06:00
Ed Page
faf3861bf1
fix(parser): Loosen asserts for now
...
This is a surgical workaround for #3263 . It makes `cargo` pass tests!
2022-01-05 16:07:39 -06:00
Ed Page
2074c56d0e
Merge pull request #3261 from epage/fix-borked-formatting
...
docs: Fix messed up highlighting
2022-01-05 12:13:46 -06:00
Hugo Osvaldo Barrera
7110401595
docs: Fix messed up highlighting
...
This just affects how it's rendered; rather than attempting to highlight
these blocks as a shell script, they'll get highlighted as console
output.
See the rendered versions for a better comparison.
2022-01-05 11:53:06 -06:00
Ed Page
a61ad342cf
docs(changelog): Call out more breaking changes
2022-01-05 10:28:42 -06:00
Ed Page
e9f6ef6638
fix(parser): Fix more panic quotes
2022-01-04 16:10:26 -06:00
Ed Page
2b2e2c9a80
fix(parser): Fix quoting in panic
...
We ended up with an extra quotation mark that was left unmatched. Got a
bit confused when I saw this.
2022-01-04 15:52:14 -06:00
Ed Page
690da48785
Merge pull request #3257 from Tiwalun/patch-1
...
Correct replacement function for Parser::from_clap
2022-01-04 15:34:26 -06:00
Dominik Boehi
ae55a9da68
Correct replacement function for Parser::from_clap
2022-01-04 22:29:39 +01:00
Ed Page
252dec02d9
Merge pull request #3256 from coolreader18/fix-license-headers
...
Fix clap_derive license headers
2022-01-04 14:56:27 -06:00
Noa
ffd991f0ae
chore: Fix clap_derive license headers
2022-01-04 14:25:48 -06:00
Ed Page
4ea1965789
chore: Release
2022-01-04 13:07:10 -06:00
Ed Page
c92b91671f
docs: Update changelog
2022-01-04 13:07:01 -06:00
Ed Page
0a7e751c21
Merge pull request #3255 from epage/reflect
...
feat(parser): Allow users to avoid undefined arg asserts
2022-01-04 13:06:01 -06:00
Ed Page
7e4cd43620
feat(parser): Allow users to avoid undefined arg asserts
...
Cargo is an example of a user that heavily relied on using undefined
names because there is a lot of code sharing between commands. This
allows a path forward for those users that is just painful enough to
discourage overly relying on it in the future :).
2022-01-04 12:53:03 -06:00
Ed Page
9daefba196
chore: Release
2022-01-04 11:42:50 -06:00
Ed Page
6522eb1194
docs: Update changelog
2022-01-04 11:42:35 -06:00
Ed Page
9e7ee858f1
Merge pull request #3253 from epage/assert
...
fix: Clarify cause of debug asserts
2022-01-04 11:41:57 -06:00
Ed Page
91de3eb0cd
fix: Clarify cause of debug asserts
...
Ran into one of these being a pain with porting cargo.
2022-01-04 11:30:33 -06:00
Ed Page
d9906eb150
chore: Release
2022-01-04 09:49:41 -06:00
Ed Page
8830afb6df
docs: Update changeog
2022-01-04 09:48:50 -06:00
Ed Page
fa5daf4039
Merge pull request #3250 from epage/hyphen
...
fix(parser): Ignore Last when checking Hyphen Values
2022-01-04 09:46:59 -06:00
Ed Page
453356e044
Merge pull request #3251 from epage/refactor/clippy
...
refactor: address clippy warnings
2022-01-04 09:38:00 -06:00
Daniel Eades
e8516a9098
style: allow unused field
2022-01-04 09:20:34 -06:00
Daniel Eades
35d7841211
style: simplify boolean expressions
2022-01-04 09:20:30 -06:00
Daniel Eades
e1b21784a0
fix: add 'must_use' attributes to methods returning 'Self'
2022-01-04 09:20:24 -06:00
Daniel Eades
021b1f6997
style: remove useless conversions
2022-01-04 09:20:21 -06:00
Daniel Eades
2986a9eee0
style: remove unnecessary lazy evaluations
2022-01-04 09:20:17 -06:00
Daniel Eades
d6351a7cf3
style: remove 'from_string' call from 'format' args
2022-01-04 09:20:14 -06:00
Daniel Eades
7f71d642cd
style: prefer 'char' to 'str' for single character patterns
2022-01-04 09:20:08 -06:00
Ed Page
15704dcaff
fix(parser): Ignore Last when checking Hyphe Values
...
This was found with #3249
2022-01-04 09:16:03 -06:00
Ed Page
e6ee585a4b
fix: Clarify short rejection in debug
2022-01-04 09:00:13 -06:00
Ed Page
bcbe126b4d
chore: Release
2022-01-03 18:53:28 -06:00
Ed Page
d392b88bd5
chore: Release
2022-01-03 12:12:28 -06:00
Ed Page
1a19d48765
docs: Update changelog
2022-01-03 12:11:11 -06:00
Ed Page
3782d8e728
Merge pull request #3247 from epage/len
...
fix: Don't panic when getting number of values
2022-01-03 12:08:45 -06:00
Ed Page
5c829ffa58
Merge pull request #3246 from epage/warn
...
fix(derive): Don't enit warnings
2022-01-03 11:55:16 -06:00
Ed Page
e5806830f3
fix: Don't panic when getting number of values
...
I was tempted to remove the exact-size nature. Wouldn't be breaking
since it only panics but decided to go ahead and do this for now.
Fixes #3241
2022-01-03 11:53:59 -06:00
Ed Page
6b9ae5404c
fix(derive): Don't enit warnings
...
We missed covering `Args` warnings when using struct variants.
Fixes #3245
2022-01-03 11:35:34 -06:00
Ed Page
b0cb2057ea
docs(derive): Include name magic attribute
...
Inspired by #3242l
2022-01-03 06:33:53 -06:00
Ed Page
06f24b174a
Merge pull request #3243 from intgr/fix-clap_complete-documentation-imports
...
docs(complete): Fix imports in documentation
2022-01-03 06:27:04 -06:00
Marti Raudsepp
f10c5d18d9
docs(complete): Fix imports in documentation
...
Use `shells::Bash` instead of `generators::Bash`
2022-01-02 21:10:18 +02:00
Ed Page
879219a73d
Merge pull request #3240 from epage/heck
...
chore: Upgrade heck
2022-01-01 21:12:20 -06:00
Ed Page
42f6c72caa
chore: Upgrade heck
2022-01-01 20:31:53 -06:00
Ed Page
3bb33387af
docs(derive): Remove redundant setting
2022-01-01 19:51:17 -06:00
Ed Page
a01b0c813c
chore(gh): Automate release creation
2022-01-01 12:43:24 -06:00