You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 1, 2022. It is now read-only.
One challenge with completions is we have to effectively re-implement clap's argument parsing for each shell we support. Example of other issues that look like they stem from this:
This is making me think that clap-rs/clap#1232 is even more important so we can share parsing logic between different shells and clap and more easily test it.
Issue by Morganamilo
Saturday Nov 13, 2021 at 22:47 GMT
Originally opened as clap-rs/clap#3022
Please complete the following tasks
Rust Version
rustc 1.58.0-nightly (8b09ba6a5 2021-11-09)
Clap Version
3.0.0-beta.5
Minimal reproducible code
Steps to reproduce the bug with the above code
With the completion installed:
Actual Behaviour
So I have a program that has a usage like this:
program: <targets>... -- <files>...
The zsh completion seems to really not like this and spits out an error when tab is hit:
_arguments:comparguments:325: doubled rest argument definition: *::file -- Files to search for:
The completion generated is:
Expected Behaviour
Don't be broken
Additional Context
No response
Debug Output
No response
The text was updated successfully, but these errors were encountered: