From 6f8ca02a427e4a2c40a8ab5c0032e4e0c040c33e Mon Sep 17 00:00:00 2001 From: wangme88 <50501950+wangme88@users.noreply.github.com> Date: Tue, 12 Sep 2023 08:46:30 -0400 Subject: [PATCH] cargo-{help,version}: add page (#10712) Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/common/cargo-help.md | 12 ++++++++++++ pages/common/cargo-version.md | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 pages/common/cargo-help.md create mode 100644 pages/common/cargo-version.md diff --git a/pages/common/cargo-help.md b/pages/common/cargo-help.md new file mode 100644 index 000000000..43bb7872b --- /dev/null +++ b/pages/common/cargo-help.md @@ -0,0 +1,12 @@ +# cargo help + +> Display help on `cargo` and its subcommands. +> More information: . + +- Display general help: + +`cargo help` + +- Display help for a subcommand: + +`cargo help {{subcommand}}` diff --git a/pages/common/cargo-version.md b/pages/common/cargo-version.md new file mode 100644 index 000000000..92afc9ce1 --- /dev/null +++ b/pages/common/cargo-version.md @@ -0,0 +1,12 @@ +# cargo version + +> Display `cargo` version information. +> More information: . + +- Display the version of `cargo`: + +`cargo version` + +- Display additional build information: + +`cargo version --verbose`