Skip to content

Commit

Permalink
docs: add missing cargo-add and cargo-rm
Browse files Browse the repository at this point in the history
  • Loading branch information
weihanglo committed Aug 1, 2024
1 parent d1e72bc commit 96767be
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/doc/man/cargo.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ available at <https://rust-lang.org>.

### Manifest Commands

{{man "cargo-add" 1}}\
&nbsp;&nbsp;&nbsp;&nbsp;Add dependencies to a `Cargo.toml` manifest file.

{{man "cargo-generate-lockfile" 1}}\
&nbsp;&nbsp;&nbsp;&nbsp;Generate `Cargo.lock` for a project.

Expand All @@ -68,6 +71,9 @@ available at <https://rust-lang.org>.
{{man "cargo-pkgid" 1}}\
&nbsp;&nbsp;&nbsp;&nbsp;Print a fully qualified package specification.

{{man "cargo-remove" 1}}\
&nbsp;&nbsp;&nbsp;&nbsp;Remove dependencies from a `Cargo.toml` manifest file.

{{man "cargo-tree" 1}}\
&nbsp;&nbsp;&nbsp;&nbsp;Display a tree visualization of a dependency graph.

Expand Down
6 changes: 6 additions & 0 deletions src/doc/man/generated_txt/cargo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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.

Expand Down
6 changes: 6 additions & 0 deletions src/doc/src/commands/cargo.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ available at <https://rust-lang.org>.

### Manifest Commands

[cargo-add(1)](cargo-add.html)\
&nbsp;&nbsp;&nbsp;&nbsp;Add dependencies to a `Cargo.toml` manifest file.

[cargo-generate-lockfile(1)](cargo-generate-lockfile.html)\
&nbsp;&nbsp;&nbsp;&nbsp;Generate `Cargo.lock` for a project.

Expand All @@ -68,6 +71,9 @@ available at <https://rust-lang.org>.
[cargo-pkgid(1)](cargo-pkgid.html)\
&nbsp;&nbsp;&nbsp;&nbsp;Print a fully qualified package specification.

[cargo-remove(1)](cargo-remove.html)\
&nbsp;&nbsp;&nbsp;&nbsp;Remove dependencies from a `Cargo.toml` manifest file.

[cargo-tree(1)](cargo-tree.html)\
&nbsp;&nbsp;&nbsp;&nbsp;Display a tree visualization of a dependency graph.

Expand Down
8 changes: 8 additions & 0 deletions src/etc/man/cargo.1
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ available at <https://rust\-lang.org>\&.
.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.
Expand All @@ -80,6 +84,10 @@ available at <https://rust\-lang.org>\&.
.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.
Expand Down

0 comments on commit 96767be

Please sign in to comment.