Skip to content

Commit

Permalink
Add homepage/documentation to cargo-metadata docs
Browse files Browse the repository at this point in the history
  • Loading branch information
roblabla committed Oct 1, 2020
1 parent 435117a commit 26d1a25
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/doc/man/cargo-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ The output has the following format:
"readme": "README.md",
/* The repository value from the manifest or null if not specified. */
"repository": "https://github.com/rust-lang/cargo",
/* The homepage value from the manifest or null if not specified. */
"homepage": "https://rust-lang.org",
/* The documentation value from the manifest or null if not specified. */
"documentation": "https://doc.rust-lang.org/stable/std",
/* The default edition of the package.
Note that individual targets may have different editions.
*/
Expand Down
4 changes: 4 additions & 0 deletions src/doc/man/generated_txt/cargo-metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ OUTPUT FORMAT
"readme": "README.md",
/* The repository value from the manifest or null if not specified. */
"repository": "https://github.com/rust-lang/cargo",
/* The homepage value from the manifest or null if not specified. */
"homepage": "https://rust-lang.org",
/* The documentation value from the manifest or null if not specified. */
"documentation": "https://doc.rust-lang.org/stable/std",
/* The default edition of the package.
Note that individual targets may have different editions.
*/
Expand Down
4 changes: 4 additions & 0 deletions src/doc/src/commands/cargo-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ The output has the following format:
"readme": "README.md",
/* The repository value from the manifest or null if not specified. */
"repository": "https://github.com/rust-lang/cargo",
/* The homepage value from the manifest or null if not specified. */
"homepage": "https://rust-lang.org",
/* The documentation value from the manifest or null if not specified. */
"documentation": "https://doc.rust-lang.org/stable/std",
/* The default edition of the package.
Note that individual targets may have different editions.
*/
Expand Down
12 changes: 8 additions & 4 deletions src/etc/man/cargo-metadata.1
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ The output has the following format:
"readme": "README.md",
/* The repository value from the manifest or null if not specified. */
"repository": "https://github.com/rust\-lang/cargo",
/* The homepage value from the manifest or null if not specified. */
"homepage": "https://rust-lang.org",
/* The documentation value from the manifest or null if not specified. */
"documentation": "https://doc.rust-lang.org/stable/std",
/* The default edition of the package.
Note that individual targets may have different editions.
*/
Expand Down Expand Up @@ -329,7 +333,7 @@ Do not activate the \fBdefault\fR feature of the current directory's package.
.RE
.SS "Display Options"
.sp
\fB\-v\fR,
\fB\-v\fR,
\fB\-\-verbose\fR
.RS 4
Use verbose output. May be specified twice for "very verbose" output which
Expand All @@ -338,7 +342,7 @@ May also be specified with the \fBterm.verbose\fR
\fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&.
.RE
.sp
\fB\-q\fR,
\fB\-q\fR,
\fB\-\-quiet\fR
.RS 4
No output printed to stdout.
Expand Down Expand Up @@ -372,7 +376,7 @@ Path to the \fBCargo.toml\fR file. By default, Cargo searches for the
\fBCargo.toml\fR file in the current directory or any parent directory.
.RE
.sp
\fB\-\-frozen\fR,
\fB\-\-frozen\fR,
\fB\-\-locked\fR
.RS 4
Either of these flags requires that the \fBCargo.lock\fR file is
Expand Down Expand Up @@ -411,7 +415,7 @@ See the \fIrustup documentation\fR <https://rust\-lang.github.io/rustup/override
for more information about how toolchain overrides work.
.RE
.sp
\fB\-h\fR,
\fB\-h\fR,
\fB\-\-help\fR
.RS 4
Prints help information.
Expand Down

0 comments on commit 26d1a25

Please sign in to comment.