Zanie Blue
2eb842cc3b
feat: Show user defined help flags in hints
...
This allows display of user-defined help flags during "try 'help'" style
messages
2024-07-08 19:01:22 -05:00
Zanie Blue
b24deb101f
test: Add coverage for help flag hints
2024-07-08 19:01:22 -05:00
Lzu Tao
eba26a9376
chore: Explain why -lt 3 levels of subcommands
2024-07-09 06:56:31 +07:00
Lzu Tao
1dd1056cd7
fix: Check for real optional arguments
2024-07-07 07:27:47 +07:00
Lzu Tao
e276fc420b
fix: Fix conditions to generate helpers
...
Both should be met.
2024-07-07 00:26:53 +07:00
Lzu Tao
6c706d534b
chore: Use get_action to filter out help/version flags
2024-07-07 00:16:48 +07:00
Lzu Tao
2167fee212
fix(fish): Don't handle level 3 nested subcommand
...
Nested subcommand more than 3 levels is not practical in public.
Take rustup for example, `rustup toolchain install <version>`,
there is only 3 levels of nested subcommands. But there is also
the case of `rustup help toolchain install`, or `rustup toolchain help install`.
2024-07-06 07:58:43 +07:00
Lzu Tao
a6ac45f566
feat(fish): Support nested subcommand completion
2024-07-06 07:27:56 +07:00
renovate[bot]
866d7d14d3
chore(deps): Update compatible (dev) ( #5560 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-05 21:03:02 +00:00
Ed Page
d14bbc9531
Merge pull request #5567 from epage/c
...
fix: Don't silently ignore complete tests when missing installed shells on CI
2024-07-05 15:44:48 -05:00
Lzu Tao
5448020b18
fix: Install shells for CI
2024-07-05 15:35:01 -05:00
Lzu Tao
1c5a625ad0
fix: Fix wrong cfg(linux)
2024-07-05 15:35:01 -05:00
Lzu Tao
2d2d1f4987
chore: Bump completest
2024-07-05 15:35:01 -05:00
Lzu Tao
7c00ad2e3e
test(comlete): Show all fish completions
2024-07-05 15:34:42 -05:00
Ed Page
3689a4c867
test(complete): Fix snapshots
2024-07-05 15:02:08 -05:00
Ed Page
045de9321a
Merge pull request #21 from jalil-salame/patch-1
...
Fix typos in CONTRIBUTING.md
2024-07-04 12:21:30 -05:00
Jalil David Salamé Messina
eb4e999f1b
Fix typos in CONTRIBUTING.md
...
I found this through [mastodon][1] and found the typos jarring.
[1]: https://hachyderm.io/@epage/112729287446906823
2024-07-04 19:06:12 +02:00
Ed Page
0547ff2d0f
docs(contrib): Clarify our policies
2024-07-04 12:54:40 -04:00
Ed Page
469d847d35
chore: Release
2024-06-28 12:44:19 -04:00
Ed Page
e323b912a6
docs: Update changelog
2024-06-28 12:43:51 -04:00
Ed Page
7101c644f7
Merge pull request #5557 from tesuji/fish-positional-args-files
...
fish: Use --no-files on subcommands if has no positional args
2024-06-28 11:42:33 -05:00
Lzu Tao
5ee1a2570e
fix(fish): Don't ignore files if has positional args
2024-06-28 10:20:09 +07:00
Ed Page
3a2fb25947
Merge pull request #5547 from tesuji/fish-list
...
clap_complete: Pass a list to `__fish_seen_subcommand_from`
2024-06-26 20:07:14 -05:00
Lzu Tao
1e3681bfbc
refactor: Pass list to __fish_seen_subcommand_from
2024-06-27 07:22:04 +07:00
Lzu Tao
b1a0508cf9
refactor: Rewrite iterator for followup changes
2024-06-27 07:21:18 +07:00
Ed Page
5cc44bb91e
Merge pull request #5548 from tesuji/fish-escape-tab
...
style: fish: escaping tab as \t for more readibility
2024-06-26 12:27:13 -05:00
Lzu Tao
181b9e0d94
test: Ensure optional_value runs
2024-06-26 09:07:07 -04:00
Ed Page
0724b7ba2b
chore: Remove tarpaulin support
2024-06-26 09:03:34 -04:00
Ed Page
80242546e2
chore: Update deps to fix nightly
2024-06-26 09:02:40 -04:00
Lzu Tao
b16f987ad7
style: Escaping tab as \t for more readability for fish
2024-06-25 08:42:49 +07:00
Ed Page
2a274e149f
chore(ci): Auto-update Mac now that latest uses m1
2024-06-21 14:21:41 -04:00
Ed Page
cf151fd46b
Merge pull request #5542 from casey/exit-without-flushing
...
Exit without flushing stdout and stderr
2024-06-21 12:45:51 -05:00
Ed Page
5da658c5a0
Merge pull request #5541 from rustco/master
...
chore: fix some comments
2024-06-20 06:32:42 -05:00
Casey Rodarmor
90b2661ad0
fix: Exit without flushing stdout and stderr
...
Standard out is flushed during `std::rt::cleanup()`, called by
`std::process::exit()`, and standard error is unbuffered, so doesn't
need to be flushed.
2024-06-19 21:19:32 -07:00
rustco
462c5ada4a
chore: fix some comments
...
Signed-off-by: rustco <ruster@111.com>
2024-06-20 11:40:13 +08:00
Ed Page
9c1153d6b4
chore: Release
2024-06-19 16:03:52 -05:00
Ed Page
70e84174a7
Merge pull request #5534 from chrysn-pull-requests/typo-clio
...
docs: Fix typo (cio->clio)
2024-06-14 08:40:26 -05:00
chrysn
deae5929bd
docs: Fix typo (cio->clio)
2024-06-14 13:51:45 +02:00
renovate[bot]
cd9f44f5c3
chore(deps): Update Rust Stable to v1.79 ( #5532 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-13 17:54:00 +00:00
Ed Page
b3effeae10
style: Make clippy happy
2024-06-13 12:45:33 -05:00
Ed Page
6c6839a454
chore: Release
2024-06-10 09:30:20 -05:00
Ed Page
e79ff0d42b
docs: Update changelog
2024-06-10 09:30:03 -05:00
Ed Page
be2e5ca91e
Merge pull request #5527 from epage/min
...
fix(parser): Report correct num_args on too-few
2024-06-10 09:24:15 -05:00
Ed Page
cf5c95862e
fix(parser): Report correct num_args on too-few
...
Fixes #5526
2024-06-10 09:16:53 -05:00
Ed Page
e0c9619c27
test(parser): Snapshot num_args errors
2024-06-10 09:15:48 -05:00
Ed Page
2f645d3e81
chore: Release
2024-06-07 16:13:55 -05:00
Ed Page
6e1e0368f9
docs: Update changelog
2024-06-07 16:12:56 -05:00
Ed Page
7e1bbf82af
Merge pull request #5523 from ben--/zsh-colon
...
fix(zsh): Separate options from _arguments options
2024-06-07 16:11:43 -05:00
Ben Rogers
8e3c273b61
fix(zsh): Separate options from _arguments options
2024-06-07 15:20:04 -04:00
Ed Page
ff3713d770
chore: Release
2024-06-06 16:41:05 -05:00