From 96767be00dd5ca35e1874e5cd0f5ccb7801ba2b7 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Thu, 1 Aug 2024 09:11:40 -0400 Subject: [PATCH] docs: add missing cargo-add and cargo-rm --- src/doc/man/cargo.md | 6 ++++++ src/doc/man/generated_txt/cargo.txt | 6 ++++++ src/doc/src/commands/cargo.md | 6 ++++++ src/etc/man/cargo.1 | 8 ++++++++ 4 files changed, 26 insertions(+) diff --git a/src/doc/man/cargo.md b/src/doc/man/cargo.md index 3b1c62e3253..fa3d8bd3bc7 100644 --- a/src/doc/man/cargo.md +++ b/src/doc/man/cargo.md @@ -56,6 +56,9 @@ available at . ### Manifest Commands +{{man "cargo-add" 1}}\ +    Add dependencies to a `Cargo.toml` manifest file. + {{man "cargo-generate-lockfile" 1}}\     Generate `Cargo.lock` for a project. @@ -68,6 +71,9 @@ available at . {{man "cargo-pkgid" 1}}\     Print a fully qualified package specification. +{{man "cargo-remove" 1}}\ +    Remove dependencies from a `Cargo.toml` manifest file. + {{man "cargo-tree" 1}}\     Display a tree visualization of a dependency graph. diff --git a/src/doc/man/generated_txt/cargo.txt b/src/doc/man/generated_txt/cargo.txt index ce12de58c79..d9a1d1fd7af 100644 --- a/src/doc/man/generated_txt/cargo.txt +++ b/src/doc/man/generated_txt/cargo.txt @@ -50,6 +50,9 @@ COMMANDS     Execute unit and integration tests of a package. Manifest Commands + cargo-add(1) +     Add dependencies to a Cargo.toml manifest file. + cargo-generate-lockfile(1)     Generate Cargo.lock for a project. @@ -63,6 +66,9 @@ COMMANDS cargo-pkgid(1)     Print a fully qualified package specification. + cargo-remove(1) +     Remove dependencies from a Cargo.toml manifest file. + cargo-tree(1)     Display a tree visualization of a dependency graph. diff --git a/src/doc/src/commands/cargo.md b/src/doc/src/commands/cargo.md index bd1eafa183c..ccba5dc446b 100644 --- a/src/doc/src/commands/cargo.md +++ b/src/doc/src/commands/cargo.md @@ -56,6 +56,9 @@ available at . ### Manifest Commands +[cargo-add(1)](cargo-add.html)\ +    Add dependencies to a `Cargo.toml` manifest file. + [cargo-generate-lockfile(1)](cargo-generate-lockfile.html)\     Generate `Cargo.lock` for a project. @@ -68,6 +71,9 @@ available at . [cargo-pkgid(1)](cargo-pkgid.html)\     Print a fully qualified package specification. +[cargo-remove(1)](cargo-remove.html)\ +    Remove dependencies from a `Cargo.toml` manifest file. + [cargo-tree(1)](cargo-tree.html)\     Display a tree visualization of a dependency graph. diff --git a/src/etc/man/cargo.1 b/src/etc/man/cargo.1 index fd6e43be66f..eebcf89e43d 100644 --- a/src/etc/man/cargo.1 +++ b/src/etc/man/cargo.1 @@ -64,6 +64,10 @@ available at \&. .br \ \ \ \ Execute unit and integration tests of a package. .SS "Manifest Commands" +\fBcargo\-add\fR(1) +.br +\ \ \ \ Add dependencies to a \fBCargo.toml\fR manifest file. +.sp \fBcargo\-generate\-lockfile\fR(1) .br \ \ \ \ Generate \fBCargo.lock\fR for a project. @@ -80,6 +84,10 @@ available at \&. .br \ \ \ \ Print a fully qualified package specification. .sp +\fBcargo\-remove\fR(1) +.br +\ \ \ \ Remove dependencies from a \fBCargo.toml\fR manifest file. +.sp \fBcargo\-tree\fR(1) .br \ \ \ \ Display a tree visualization of a dependency graph.