Ed Page
1c89abaa5b
docs: Update changelog
2022-01-15 18:51:23 -06:00
Ed Page
277075d8e2
Merge pull request #3295 from clifton/zsh-about-unescaped
...
fix: unescaped chars appearing in zsh completion script
2022-01-15 18:50:15 -06:00
Clifton King
658b7a0841
fix(complete): Fix unescaped single quotes in zsh
...
help strings for subcomand args did not escape single quotes
2022-01-15 14:33:11 -06:00
Ed Page
d178de7cf8
docs(generate): Fix another contributing link
2022-01-13 09:26:11 -06:00
Ed Page
7c3b38f9a6
Merge pull request #3292 from rndhouse/fix_contributing_url
...
Fix broken CONTRIBUTING.md URL.
2022-01-13 09:25:16 -06:00
rndhouse
85cac43672
Fix broken CONTRIBUTING.md URL.
2022-01-13 15:14:08 +00:00
Ed Page
3d8ce3f426
chore: Release
2022-01-12 11:12:42 -06:00
Ed Page
0439dc221f
docs: Update changelogs
2022-01-12 11:11:53 -06:00
Ed Page
b200a869b4
Merge pull request #3288 from epage/assert
...
fix: Run more parse asserts during build
2022-01-12 11:09:16 -06:00
Ed Page
37f47dd260
docs: Add completion changelogs
2022-01-12 11:04:57 -06:00
Ed Page
b98e8ec24f
docs(derive): Args doesn't derive IntoApp
...
Fixes #3284
2022-01-12 10:58:35 -06:00
Ed Page
de275e7cf9
fix: Run more parse asserts during build
...
This will help prevent issues from being deployed to users like in #3281
I do not consider this a breaking change because any normal operation
will assert anyways.
2022-01-12 10:55:55 -06:00
Ed Page
df0e6d8637
Merge pull request #3285 from cherryblossom000/elvish-0.17
...
fix(complete): Use Elvish v0.17 lambda syntax
2022-01-11 19:34:01 -06:00
cherryblossom
6d27488602
fix(complete): Use Elvish v0.17 lambda syntax
...
[Elvish v0.17][1] deprecated the old lambda syntax (`[arg1 arg2] { body }`)
in favour of the new `{|arg1 arg2| body }` syntax. This commit uses the
new syntax to stop deprecation warnings.
[1]: https://elv.sh/blog/0.17.0-release-notes.html#deprecated-features
2022-01-12 11:58:18 +11:00
Ed Page
63a36673e1
docs(derive): Link ref to tutorial / examples
2022-01-11 14:27:39 -06:00
Ed Page
6b3248fff1
docs(derive): Link tutorial to reference
2022-01-11 14:22:54 -06:00
Ed Page
3bda330712
Merge pull request #3278 from epage/about
...
docs(examples): Steer people to know about about vs long_about
2022-01-10 19:01:10 -06:00
Ed Page
4b51b8e253
docs(examples): Steer people to know about about vs long_about
...
`#[clap(about)]` only overrides `about`. If the doc comment also sets
`long_about`, it won't be overridden. This change is to help raise
visibility of reseting `long_about` in these cases.
2022-01-10 18:47:24 -06:00
Ed Page
64d16bbc03
docs(derive): Clarify which Cargo.toml field is read
2022-01-10 18:32:32 -06:00
Ed Page
811fd6a04a
chore: Release
2022-01-10 16:16:18 -06:00
Ed Page
c494da93ce
chore: Share a tag between clap / clap_derive
2022-01-10 16:16:04 -06:00
Ed Page
29cecfaa5d
docs: Update changelog
2022-01-10 16:13:50 -06:00
Ed Page
984fc16935
Merge pull request #3277 from epage/arg_enum
...
fix(derive): Don't assume `use clap::ArgEnum`
2022-01-10 16:04:07 -06:00
Ed Page
3326a11be0
fix(derive): Don't assume use clap::ArgEnum
...
The error was when doing `#[clap(arg_enum, default_value_t = ...)]`.
Good example of why we should minimize `use`, at least in tests
(besides reducing merge conflicts, code churn, etc).
2022-01-10 15:41:58 -06:00
Ed Page
b9a1876af0
Merge pull request #3275 from xylous/master
...
fix(complete): add newline at end of zsh output
2022-01-10 08:21:44 -06:00
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
xylous
e2f4d2827e
fix(complete): Add newline at end of zsh output
2022-01-09 19:51:18 +02: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