Skip to content

Commit 3630052

Browse files
committed
doc: build from build-man.sh
1 parent 1667b99 commit 3630052

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

src/doc/man/generated_txt/cargo-pkgid.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@ EXAMPLES
137137

138138
cargo pkgid https://github.com/rust-lang/crates.io-index#foo
139139

140+
4. Retrieve package specification for foo from a local package:
141+
142+
cargo pkgid file:///path/to/local/package#foo
143+
140144
SEE ALSO
141145
cargo(1), cargo-generate-lockfile(1), cargo-metadata(1)
142146

src/doc/src/commands/cargo-pkgid.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,5 +163,9 @@ details on environment variables that Cargo reads.
163163

164164
cargo pkgid https://github.com/rust-lang/crates.io-index#foo
165165

166+
4. Retrieve package specification for `foo` from a local package:
167+
168+
cargo pkgid file:///path/to/local/package#foo
169+
166170
## SEE ALSO
167171
[cargo(1)](cargo.html), [cargo-generate-lockfile(1)](cargo-generate-lockfile.html), [cargo-metadata(1)](cargo-metadata.html)

src/etc/man/cargo-pkgid.1

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,5 +207,15 @@ cargo pkgid https://github.com/rust\-lang/crates.io\-index#foo
207207
.fi
208208
.RE
209209
.RE
210+
.sp
211+
.RS 4
212+
\h'-04' 4.\h'+01'Retrieve package specification for \fBfoo\fR from a local package:
213+
.sp
214+
.RS 4
215+
.nf
216+
cargo pkgid file:///path/to/local/package#foo
217+
.fi
218+
.RE
219+
.RE
210220
.SH "SEE ALSO"
211221
\fBcargo\fR(1), \fBcargo\-generate\-lockfile\fR(1), \fBcargo\-metadata\fR(1)

0 commit comments

Comments
 (0)