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
Auto merge of #7892 - KaneGreen:rustc-about-text, r=ehuss
Modified the help information of cargo-rustc
### Motivation
The original help information for `cargo build` is
> Compile a local package and all of its dependencies
And the original help information for `cargo rustc` is
> Compile a package and all of its dependencies
These messages are **too similar** to make it difficult to distinguish the differences between the two commands.
According to the [cargo book](https://doc.rust-lang.org/cargo/commands/cargo-rustc.html), `cargo rustc` is characterized by
> pass extra options to the compiler
I think this should be written into the help text of the command.
In addition, the `<args> ...` parameters of `cargo rustc` lack help text and need to be added.
### Modification
See the commit files.
### Problems
Maybe some words in my modification are not accurate enough. If you have better wording, welcome to point out. Thanks.
0 commit comments