cargo-{help,version}: add page (#10712)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
12
pages/common/cargo-help.md
Normal file
12
pages/common/cargo-help.md
Normal file
@@ -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}}`
|
12
pages/common/cargo-version.md
Normal file
12
pages/common/cargo-version.md
Normal file
@@ -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`
|
Reference in New Issue
Block a user