From 3076190954e3647f767910876e0c3559bc735ff7 Mon Sep 17 00:00:00 2001 From: hi-rustin Date: Mon, 13 Nov 2023 19:46:47 +0800 Subject: [PATCH] Update cargo-search.md and its man page Signed-off-by: hi-rustin --- src/doc/man/cargo-search.md | 3 ++- src/doc/man/generated_txt/cargo-search.txt | 3 ++- src/doc/src/commands/cargo-search.md | 3 ++- src/etc/man/cargo-search.1 | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/doc/man/cargo-search.md b/src/doc/man/cargo-search.md index f3d87cb1278..fbecb79ecfb 100644 --- a/src/doc/man/cargo-search.md +++ b/src/doc/man/cargo-search.md @@ -2,7 +2,7 @@ ## NAME -cargo-search --- Search packages in crates.io +cargo-search --- Search packages in the registry. Default registry is crates.io ## SYNOPSIS @@ -49,4 +49,5 @@ Limit the number of results (default: 10, max: 100). cargo search serde ## SEE ALSO + {{man "cargo" 1}}, {{man "cargo-install" 1}}, {{man "cargo-publish" 1}} diff --git a/src/doc/man/generated_txt/cargo-search.txt b/src/doc/man/generated_txt/cargo-search.txt index 74bbda9f706..9fd89b67e49 100644 --- a/src/doc/man/generated_txt/cargo-search.txt +++ b/src/doc/man/generated_txt/cargo-search.txt @@ -1,7 +1,8 @@ CARGO-SEARCH(1) NAME - cargo-search — Search packages in crates.io + cargo-search — Search packages in the registry. Default registry is + crates.io SYNOPSIS cargo search [options] [query…] diff --git a/src/doc/src/commands/cargo-search.md b/src/doc/src/commands/cargo-search.md index 72e2accf3ae..1a98f286916 100644 --- a/src/doc/src/commands/cargo-search.md +++ b/src/doc/src/commands/cargo-search.md @@ -2,7 +2,7 @@ ## NAME -cargo-search --- Search packages in crates.io +cargo-search --- Search packages in the registry. Default registry is crates.io ## SYNOPSIS @@ -131,4 +131,5 @@ details on environment variables that Cargo reads. cargo search serde ## SEE ALSO + [cargo(1)](cargo.html), [cargo-install(1)](cargo-install.html), [cargo-publish(1)](cargo-publish.html) diff --git a/src/etc/man/cargo-search.1 b/src/etc/man/cargo-search.1 index 245d4e65dd9..b1d458bd579 100644 --- a/src/etc/man/cargo-search.1 +++ b/src/etc/man/cargo-search.1 @@ -4,7 +4,7 @@ .ad l .ss \n[.ss] 0 .SH "NAME" -cargo\-search \[em] Search packages in crates.io +cargo\-search \[em] Search packages in the registry. Default registry is crates.io .SH "SYNOPSIS" \fBcargo search\fR [\fIoptions\fR] [\fIquery\fR\[u2026]] .SH "DESCRIPTION"