clap_generate: completion on subcommand is always default, even if it takes no values #3553
Open
2 tasks done
Labels
A-completion
Area: completion generator
C-enhancement
Category: Raise on the bar on expectations
E-easy
Call for participation: Experience needed to fix: Easy / not much
Please complete the following tasks
Clap Version
3.1.0
Describe your use case
When generating completions for my application, Fish suggests file names after inputting a subcommand:
std-dev regression<tab>
gives me file name suggestions. This subcommand doesn't have any args without flags (nothing under theARGS:
section of the help output).Describe the solution you'd like
I suggest telling Fish (and other shells?) to not complete anything, or, optimally, begin completing flags & options.
Alternatives, if applicable
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: