mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 13:15:23 +02:00
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
2 changed files with 24 additions and 0 deletions
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`
|
Loading…
Add table
Reference in a new issue