cargo-{help,version}: add page (#10712)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
parent
9346dcac90
commit
6f8ca02a42
|
|
@ -0,0 +1,12 @@
|
||||||
|
# cargo help
|
||||||
|
|
||||||
|
> Display help on `cargo` and its subcommands.
|
||||||
|
> More information: <https://doc.rust-lang.org/cargo/commands/cargo-help.html>.
|
||||||
|
|
||||||
|
- Display general help:
|
||||||
|
|
||||||
|
`cargo help`
|
||||||
|
|
||||||
|
- Display help for a subcommand:
|
||||||
|
|
||||||
|
`cargo help {{subcommand}}`
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
# cargo version
|
||||||
|
|
||||||
|
> Display `cargo` version information.
|
||||||
|
> More information: <https://doc.rust-lang.org/cargo/commands/cargo-version.html>.
|
||||||
|
|
||||||
|
- Display the version of `cargo`:
|
||||||
|
|
||||||
|
`cargo version`
|
||||||
|
|
||||||
|
- Display additional build information:
|
||||||
|
|
||||||
|
`cargo version --verbose`
|
||||||
Loading…
Reference in New Issue