leptos-rs / cargo-leptos

Build tool for Leptos (Rust)
MIT License
314 stars 87 forks source link

Incorrect help message for very verbose option #247

Closed dav-wolff closed 3 months ago

dav-wolff commented 3 months ago

Running cargo leptos build --help says to use the --vv option for very verbose output:

-v...
        Verbosity (none: info, errors & warnings, -v: verbose, --vv: very verbose)

However, running cargo leptos build --vv produces the following error:

+ command cargo leptos build --vv
error: unexpected argument '--vv' found

Usage: cargo-leptos build [OPTIONS]

For more information, try '--help'.

It should say to use -vv instead of --vv. The same applies to test, end-to-end, serve, and watch.

gbj commented 3 months ago

Thanks. Would you be interested in making a PR to fix it?

dav-wolff commented 3 months ago

Yes, will do