ugexe / zef

Raku Module Management
Artistic License 2.0
206 stars 44 forks source link

`zef depends` suggests using `--exclude` but then doesn't recognize the flag #517

Open codesections opened 1 year ago

codesections commented 1 year ago

When zef depends cannot resolve a missing dependency, it suggests using --exclude to skip that dependency. But zef depends doesn't accept the --exclude flag. For example:

$ zef depends Red
> Failed to resolve some missing dependencies (use e.g. --exclude="pq" to skip)
$ zef depends Red --exclude="pq:ver<5>:from<native>"
> Usage:
>   zef [--depends] [--test-depends] [--build-depends] depends <identity> -- View dependencies of a distribution

zef depends should either respect the --exclude flag or shouldn't suggest using it.