Commit graph

7443 commits

Author SHA1 Message Date
Ed Page
fcd6a65e18 fix(help): Don't style newlines
Windows will style all blank space until the end of line (sometimes).

Fixes #4431
2023-03-16 18:59:54 -05:00
Ed Page
e78bba0ec5 chore: Release 2023-03-16 10:42:06 -05:00
Ed Page
84ea5b8521 docs: Update changelog 2023-03-16 10:41:55 -05:00
Ed Page
83b0437ce1
Merge pull request #4764 from epage/true
fix(parser): Clarify get_count/get_flag assertion
2023-03-16 15:47:14 -05:00
Ed Page
4fa1ec6d68
Merge pull request #4762 from epage/deps
chore: Upgrade dependencies
2023-03-16 11:33:05 -05:00
Ed Page
c0dc1cd008 fix(parser): Clarify get_count/get_flag assertion
Fixes #4763
2023-03-16 10:23:34 -05:00
Ed Page
dec82598b2 chore: Upgrade trycmd 2023-03-16 06:07:46 -05:00
Ed Page
6c0600a031 chore: Fully specify dependencies 2023-03-16 06:07:08 -05:00
Ed Page
c7e929e123
Merge pull request #4752 from kevinmatthes/feature/cff
[Documentation] Create CITATION.cff
2023-03-09 10:10:12 -06:00
Kevin Matthes
b8021a2a71
test: Add CFF Validation
The CITATION.cff is validated with the official GitHub Action.
2023-03-09 16:55:30 +01:00
Kevin Matthes
ee8231c69f docs: Add Replacement Rules for CITATION.cff
The regular expression for the release date update is taken from the
GitHub Action `kevinmatthes/cff-release-today@v0.5.2` which uses this
one, too.  License issues should not arise as I am the author of that
GitHub Action.

The regular expression for the version update is designed to also work
with version parts consisting of multiple digits.  It was tested
successfully with the example versions `1.2.3` and `1.2.30` in
CITATION.cff.
2023-03-09 16:42:47 +01:00
Kevin Matthes
37f8ae20b7 docs: Create CITATION.cff
CFF is a technology to make software citable.  Therefore, a file named
CITATION.cff needs to be stored in the repository's root.  GitHub will
then render a "Cite this repository" blob from it on the repository's
landing page.
2023-03-09 16:29:47 +01:00
renovate[bot]
8469554c17
chore(deps): update compatible (dev) (#4741)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-01 04:51:19 +00:00
Ed Page
f931de694a chore: Release 2023-02-27 12:13:11 -06:00
Ed Page
dbab081393 docs: Update changelog 2023-02-27 12:12:48 -06:00
Ed Page
70818c3aef
Merge pull request #4739 from MingweiSamuel/nodeny
fix: remove strict linting from generated code
2023-02-28 08:14:14 -06:00
Mingwei Samuel
fa76f6f78d fix: Remove strict linting from generated code
fix https://github.com/clap-rs/clap/issues/4733
2023-02-27 21:29:47 -08:00
Ed Page
5f247f5181 chore: Release 2023-02-27 07:55:14 -06:00
Ed Page
1999d85178 docs: Update changelog 2023-02-27 07:54:49 -06:00
Ed Page
c3a942e376
Merge pull request #4735 from rkrasiuk/rkrasiuk/fix-almost-swapped-lint
fix(derive): Allow `clippy::almost_swapped`
2023-02-27 13:52:17 -06:00
Roman Krasiuk
5bab68a16f fix: Allow clippy::almost_swapped 2023-02-27 19:42:44 +02:00
Roman Krasiuk
872135b64f fix: Allow clippy::almost_swapped 2023-02-27 19:35:01 +02:00
Ed Page
84a9b53cee chore: Release 2023-02-27 04:20:28 -06:00
Ed Page
9fa48d5f92 docs: Update changelog 2023-02-27 04:20:07 -06:00
Ed Page
e9535a3618
Merge pull request #4734 from XiaoXiaoSN/master
feat(complete): Support to run ZSH completion as a script
2023-02-27 10:17:47 -06:00
XiaoXiaoSN
0f3e729358 feat(complete): Support to run ZSH completion as a script 2023-02-27 23:23:50 +08:00
Ed Page
cdb33b6ad2 test(complete): Adjust bash snapshot 2023-02-24 07:40:24 -06:00
Ed Page
6e1e754aa8 docs: Update docs for derived display order
Fixes #4728
2023-02-24 07:34:17 -06:00
Ed Page
2deb372195 chore: Release 2023-02-23 11:56:20 -06:00
Ed Page
c064da01c9 docs: Update changelog 2023-02-23 11:56:12 -06:00
Ed Page
77803337f8
Merge pull request #4612 from davvid/zsh-multi-length-arguments
clap_complete: fix support for two multi-length arguments in zsh
2023-02-23 11:55:17 -06:00
Ed Page
f35ff9167f chore: Release 2023-02-23 11:19:10 -06:00
Ed Page
44782c7f71 docs(lex): Don't elide content 2023-02-23 11:18:51 -06:00
Ed Page
ec878c849b chore: Release 2023-02-22 16:15:24 -06:00
Ed Page
f3be52ed7d docs: Update changelog 2023-02-22 16:15:12 -06:00
Ed Page
776f12ebb6
Merge pull request #4645 from bgilbert/mangen-flag
fix(mangen): Avoid spurious value names for derive args without values
2023-02-22 16:14:21 -06:00
Ed Page
2a91e4f3e1
Merge pull request #4717 from epage/clap-ectomy
docs: Remove remaining references to clap attribute
2023-02-18 18:52:47 -06:00
Ed Page
953e2dcd34 docs: Remove remaining references to clap attribute 2023-02-18 18:42:07 -06:00
Ed Page
5e240dddee chore: Release 2023-02-15 11:34:25 -06:00
Ed Page
4648b6b49d docs: Update changelog 2023-02-15 11:34:11 -06:00
Martin Fischer
8c92ef6c76
fix(help): Fix yet another --help long help edge case (#4712) 2023-02-15 11:33:35 -06:00
Ed Page
fb9435d026 chore: Release 2023-02-15 10:27:15 -06:00
Ed Page
9270d2382e docs: Update changelog 2023-02-15 10:26:23 -06:00
Martin Fischer
473cf175a2
fix(help): Fix --help help text in edge case (#4710)
We were accidentally showing long help just because a hidden argument had a description for a possible value.  This is most likely to be hit with the derive API as the value descriptions are automatically applied from documentation.
2023-02-15 10:25:19 -06:00
Ed Page
62da8f94b9
Merge pull request #4711 from aleksanderkrauze/improve-builder-str-inner-into-string-implementation
Improve builder::str::inner::Inner::into_string implementation
2023-02-15 10:09:47 -06:00
Aleksander Krauze
d6e7d4699f Improve builder::str::inner::Inner::into_string implementation
Since `Inner::into_string` already takes ownership of `self` we can
avoid unnecessary copy and allocation by moving `Box<str>` and using
its implementation of `Into<String>`.
2023-02-15 16:16:14 +01:00
Ed Page
ad5d67623a
Merge pull request #4696 from graves501/patch-1
Fix typo in example git.rs
2023-02-07 16:52:03 -06:00
graves501
ad6778d206
Fix typo in git.rs 2023-02-07 23:13:52 +01:00
Ed Page
100f01be1b
Merge pull request #4694 from epage/sub
docs(examples): Differentiate struct from command name
2023-02-06 10:41:10 -06:00
Ed Page
3f2625fc5e docs(examples): Differentiate struct from command name
This supersedes #4692
2023-02-06 10:25:14 -06:00