cargo-{help,version}: add page (#10712)

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
pull/23/head
wangme88 2023-09-12 08:46:30 -04:00 committed by GitHub
parent 9346dcac90
commit 6f8ca02a42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View 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}}`

View 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`