Commit graph

7757 commits

Author SHA1 Message Date
Ed Page
446328a8d3 fix(error): Include -- in more cases
Inspired by rust-lang/cargo#12494.
Part of this is that our "did you mean" does prefix checks so it can be
overly aggressive in providing suggestions.
To avoid providing needless suggestions I limited this change to `last`
/ `trailing_var_arg` as those convey that `--` is more likely a valid
suggestion.
2024-02-16 06:54:57 -06:00
Ed Page
7de6df8782 test(error): Show existing last behavior 2024-02-16 06:41:45 -06:00
Ed Page
b48c90fc64
Merge pull request #5351 from epage/snap
chore: Update snapbox/trycmd
2024-02-14 19:45:07 -06:00
Ed Page
5f9cecb6bd chore: Update snapbox/trycmd 2024-02-14 16:44:57 -06:00
Ed Page
f45a32ec2c
Merge pull request #5350 from epage/fix
fix: Add missing clap::builder::OsStr impl
2024-02-10 20:12:57 -06:00
Ed Page
323345b3bc fix: Add missing clap::builder::OsStr impl
Found via rust-lang/cargo#10554
2024-02-10 19:59:40 -06:00
Ed Page
9295e322e8 chore: Release 2024-02-08 10:35:09 -06:00
Ed Page
a751c5fe65 chore: Release 2024-02-08 10:34:06 -06:00
Ed Page
9ec6c942b8 chore: Release 2024-02-08 10:33:13 -06:00
Ed Page
0735119775 docs: Update changelog 2024-02-08 10:32:13 -06:00
Ed Page
c4d3959506
Merge pull request #5344 from epage/encode
fix(lex): Use new-ish OsStr API
2024-02-08 10:29:17 -06:00
Ed Page
f750e57778 fix(lex): Use new-ish OsStr API
Fixes #5280
2024-02-08 10:05:24 -06:00
Ed Page
1d9a554cdf
Merge pull request #5343 from epage/msrv
chore: Update MSRV to 1.74
2024-02-08 10:04:46 -06:00
Ed Page
4b45d361b1 chore: Update MSRV to 1.74 2024-02-08 09:45:17 -06:00
Ed Page
55b1f94515
Merge pull request #5342 from epage/divan
test(bench): Switch to divan
2024-02-08 06:36:39 -06:00
Ed Page
ea77b98da3 test(complete): Make it order independent 2024-02-08 06:19:06 -06:00
Ed Page
b0fea2bac6 test(bench): Switch to divan 2024-02-08 06:04:16 -06:00
Ed Page
7425ee74e8 chore: Release 2024-02-02 12:43:30 -06:00
Ed Page
2efeb012ec docs: Update changelog 2024-02-02 12:43:23 -06:00
Ed Page
afcd8000e8
Merge pull request #5331 from EdJoPaTo/mangen-files
feat(mangen): generate filename and files
2024-02-02 12:39:06 -06:00
Ed Page
708afa33ef chore: Release 2024-02-02 10:12:09 -06:00
Ed Page
ec74349838 docs: Update changelog 2024-02-02 10:12:02 -06:00
Ed Page
0582e04b0b
Merge pull request #5336 from sudotac/prevent-filenames-splitting-in-bash-completion
fix(complete): Prevent filenames splitting in bash completion
2024-02-02 10:11:11 -06:00
sudotac
1edffb8576 fix(complete): Prevent filenames splitting
Fix #5313
2024-02-02 23:31:03 +09:00
sudotac
fe16f24ed8 test(complete): Verify filename splitting 2024-02-02 23:31:03 +09:00
Ed Page
2cc81c684f
Merge pull request #5334 from clap-rs/renovate/strsim-0.x
chore(deps): update rust crate strsim to 0.11.0
2024-02-01 13:14:44 -06:00
renovate[bot]
4788918e01
chore(deps): update compatible (dev) (#5333)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-01 01:26:55 +00:00
renovate[bot]
cd0ca3cc13 chore(deps): update rust crate strsim to 0.11.0 2024-02-01 01:06:03 +00:00
EdJoPaTo
2b9d991f51
refactor(mangen): Use argument impl over generic 2024-01-30 23:28:27 +01:00
EdJoPaTo
868aa30ef5
feat(mangen): Generate filename and files
The API is inspired by clap_complete.
2024-01-30 22:14:12 +01:00
Ed Page
ba2d1112d1 chore: Release 2024-01-29 14:38:34 -06:00
Ed Page
9d586c8f49 docs: Update changelog 2024-01-29 14:38:19 -06:00
Ed Page
040ff6a85d
Merge pull request #5301 from Will-Shanks/master
Correct title,name and synopsis in generated man pages for subcommands
2024-01-29 14:36:38 -06:00
Will Shanks
eaf0b5eea4 fix: Apply PR comments 2024-01-28 16:33:36 -08:00
Ed Page
99470c477c
Merge pull request #5328 from eddique/master
docs(example): Added repl derive example
2024-01-23 21:37:14 -06:00
Eric R
fcab81aadb fix: Format chained method 2024-01-23 22:29:19 -05:00
Eric R
3216a64bea fix: Format to repl.rs structure, remove readme 2024-01-23 22:27:19 -05:00
Eric R
1b28cf818a fix: Remove comma from end of EchoArgs 2024-01-23 17:38:54 -05:00
Eric R
a6391ae9e3 docs(example): Added repl derive example 2024-01-23 17:35:15 -05:00
renovate[bot]
470c636bc0
chore(deps): update rust crate shlex to v1.3.0 [security] (#5323)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-22 22:04:01 +00:00
Ed Page
bd9583059b chore: Release 2024-01-22 09:46:21 -06:00
Ed Page
35a96b0824 docs: Update changelog 2024-01-22 09:46:07 -06:00
Ed Page
646134a9a9
Merge pull request #5240 from sudotac/improve-bash-completion-with-compopt
Improve bash completion with compopt
2024-01-22 09:44:11 -06:00
Ed Page
d18c327229 docs(faq): Remove parity link
Now that we've integrated everything into rustdoc,
its more obvious.
2024-01-22 08:48:32 -06:00
sudotac
13a79804c9 fix(complete): Suppress a useless space completion 2024-01-20 21:29:51 +09:00
sudotac
e25b1abddf feat(complete): Add DirPath support in bash 2024-01-20 21:29:50 +09:00
sudotac
3a222def22 fix(complete): Fix path completion in bash
Fix #5239
2024-01-20 21:29:06 +09:00
sudotac
62a5ace9f1 test(complete): Verify some variants of ValueHint 2024-01-20 21:28:52 +09:00
Ed Page
6a2b3bf4fa chore: Release 2024-01-19 10:47:00 -06:00
Ed Page
069c7a6245 docs: Update changelog 2024-01-19 10:46:46 -06:00