mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Improve about information of cargo search
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
This commit is contained in:
parent
3eb246cd87
commit
918d32b34d
@ -6,7 +6,7 @@ use cargo::ops;
|
||||
|
||||
pub fn cli() -> Command {
|
||||
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(
|
||||
opt(
|
||||
|
@ -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]...
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user