-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove default registry reference in
info
cmd docs (#14880)
### What does this PR try to resolve? close #14810 Remove the registry description to reduce confusion, as the `spec` already explains local `Cargo.toml` inspection behavior. ### How should we test and review this PR? The unit test has been updated. ### Additional information r? @epage
- Loading branch information
Showing
6 changed files
with
16 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,15 @@ | |
|
||
## NAME | ||
|
||
cargo-info --- Display information about a package in the registry. Default registry is crates.io | ||
cargo-info --- Display information about a package. | ||
|
||
## SYNOPSIS | ||
|
||
`cargo info` [_options_] _spec_ | ||
|
||
## DESCRIPTION | ||
|
||
This command displays information about a package in the registry. It fetches data from the package's Cargo.toml file | ||
This command displays information about a package. It fetches data from the package's Cargo.toml file | ||
and presents it in a human-readable format. | ||
|
||
## OPTIONS | ||
|
@@ -60,7 +60,7 @@ selected based on the Minimum Supported Rust Version (MSRV). | |
cargo info [email protected] | ||
3. Inspect the `serde` package form the local registry: | ||
|
||
cargo info serde --registry my-registry | ||
cargo info serde --registry my-registry | ||
|
||
## SEE ALSO | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,15 @@ | |
|
||
## NAME | ||
|
||
cargo-info --- Display information about a package in the registry. Default registry is crates.io | ||
cargo-info --- Display information about a package. | ||
|
||
## SYNOPSIS | ||
|
||
`cargo info` [_options_] _spec_ | ||
|
||
## DESCRIPTION | ||
|
||
This command displays information about a package in the registry. It fetches data from the package's Cargo.toml file | ||
This command displays information about a package. It fetches data from the package's Cargo.toml file | ||
and presents it in a human-readable format. | ||
|
||
## OPTIONS | ||
|
@@ -161,7 +161,7 @@ details on environment variables that Cargo reads. | |
cargo info [email protected] | ||
3. Inspect the `serde` package form the local registry: | ||
|
||
cargo info serde --registry my-registry | ||
cargo info serde --registry my-registry | ||
|
||
## SEE ALSO | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.