Improve about information of cargo search

Signed-off-by: hi-rustin <rustin.liu@gmail.com>
This commit is contained in:
hi-rustin 2023-11-12 16:14:37 +08:00
parent 3eb246cd87
commit 918d32b34d
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ use cargo::ops;
pub fn cli() -> Command { pub fn cli() -> Command {
subcommand("search") subcommand("search")
.about("Search packages in crates.io") .about("Search packages in the registry. Default registry is crates.io")
.arg(Arg::new("query").value_name("QUERY").num_args(0..)) .arg(Arg::new("query").value_name("QUERY").num_args(0..))
.arg( .arg(
opt( opt(

View File

@ -1,4 +1,4 @@
Search packages in crates.io Search packages in the registry. Default registry is crates.io
Usage: cargo[EXE] search [OPTIONS] [QUERY]... Usage: cargo[EXE] search [OPTIONS] [QUERY]...