cargo help config
doesn't recognize config
command
#11408
Labels
A-cli-help
Area: built-in command-line help
A-documenting-cargo-itself
Area: Cargo's documentation
C-bug
Category: bug
Z-cargo-config
Nightly: cargo config subcommand
Problem
Confusing output when running
cargo help config
:Steps
cargo help config
Possible Solution(s)
There doesn't seem to be a man page for
cargo config
: https://github.com/rust-lang/cargo/tree/master/src/doc/manThis results in
extract_man
to returnNone
, which results intry_help
returningOk(false)
:cargo/src/bin/cargo/commands/help.rs
Lines 61 to 63 in 995f5ef
This in turn makes
exec
return the confusing message:cargo/src/bin/cargo/commands/help.rs
Lines 24 to 29 in 995f5ef
I'd propose the following fixes:
cargo config
.Notes
No response
Version
The text was updated successfully, but these errors were encountered: