File tree Expand file tree Collapse file tree 6 files changed +16
-17
lines changed
tests/testsuite/cargo_info/help Expand file tree Collapse file tree 6 files changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use cargo_util_schemas::core::PackageIdSpec;
5
5
6
6
pub fn cli ( ) -> Command {
7
7
Command :: new ( "info" )
8
- . about ( "Display information about a package in the registry " )
8
+ . about ( "Display information about a package" )
9
9
. arg (
10
10
Arg :: new ( "package" )
11
11
. required ( true )
Original file line number Diff line number Diff line change 2
2
3
3
## NAME
4
4
5
- cargo-info --- Display information about a package in the registry. Default registry is crates.io
5
+ cargo-info --- Display information about a package.
6
6
7
7
## SYNOPSIS
8
8
9
9
` cargo info ` [ _ options_ ] _ spec_
10
10
11
11
## DESCRIPTION
12
12
13
- This command displays information about a package in the registry . It fetches data from the package's Cargo.toml file
13
+ This command displays information about a package. It fetches data from the package's Cargo.toml file
14
14
and presents it in a human-readable format.
15
15
16
16
## OPTIONS
@@ -60,7 +60,7 @@ selected based on the Minimum Supported Rust Version (MSRV).
60
60
61
61
3 . Inspect the ` serde ` package form the local registry:
62
62
63
- cargo info serde --registry my-registry
63
+ cargo info serde --registry my-registry
64
64
65
65
## SEE ALSO
66
66
Original file line number Diff line number Diff line change 1
1
CARGO-INFO(1)
2
2
3
3
NAME
4
- cargo-info — Display information about a package in the registry.
5
- Default registry is crates.io
4
+ cargo-info — Display information about a package.
6
5
7
6
SYNOPSIS
8
7
cargo info [options] spec
9
8
10
9
DESCRIPTION
11
- This command displays information about a package in the registry. It
12
- fetches data from the package’s Cargo.toml file and presents it in a
13
- human-readable format.
10
+ This command displays information about a package. It fetches data from
11
+ the package’s Cargo.toml file and presents it in a human-readable
12
+ format.
14
13
15
14
OPTIONS
16
15
Info Options
@@ -149,7 +148,7 @@ EXAMPLES
149
148
150
149
3. Inspect the serde package form the local registry:
151
150
152
- cargo info serde --registry my-registry
151
+ cargo info serde --registry my-registry
153
152
154
153
SEE ALSO
155
154
cargo(1), cargo-search(1)
Original file line number Diff line number Diff line change 2
2
3
3
## NAME
4
4
5
- cargo-info --- Display information about a package in the registry. Default registry is crates.io
5
+ cargo-info --- Display information about a package.
6
6
7
7
## SYNOPSIS
8
8
9
9
` cargo info ` [ _ options_ ] _ spec_
10
10
11
11
## DESCRIPTION
12
12
13
- This command displays information about a package in the registry . It fetches data from the package's Cargo.toml file
13
+ This command displays information about a package. It fetches data from the package's Cargo.toml file
14
14
and presents it in a human-readable format.
15
15
16
16
## OPTIONS
@@ -161,7 +161,7 @@ details on environment variables that Cargo reads.
161
161
162
162
3 . Inspect the ` serde ` package form the local registry:
163
163
164
- cargo info serde --registry my-registry
164
+ cargo info serde --registry my-registry
165
165
166
166
## SEE ALSO
167
167
Original file line number Diff line number Diff line change 4
4
.ad l
5
5
.ss \n[ .ss ] 0
6
6
.SH "NAME"
7
- cargo\- info \[em ] Display information about a package in the registry. Default registry is crates.io
7
+ cargo\- info \[em ] Display information about a package.
8
8
.SH "SYNOPSIS"
9
9
\fB cargo info \fR [\fI options \fR ] \fI spec \fR
10
10
.SH "DESCRIPTION"
11
- This command displays information about a package in the registry . It fetches data from the package\[cq ] s Cargo.toml file
11
+ This command displays information about a package. It fetches data from the package\[cq ] s Cargo.toml file
12
12
and presents it in a human\- readable format.
13
13
.SH "OPTIONS"
14
14
.SS "Info Options"
@@ -193,7 +193,7 @@ details on environment variables that Cargo reads.
193
193
.sp
194
194
.RS 4
195
195
.nf
196
- cargo info serde \-\- registry my\- registry
196
+ cargo info serde \-\- registry my\- registry
197
197
.fi
198
198
.RE
199
199
.RE
You can’t perform that action at this time.
0 commit comments