Skip to content

Commit

Permalink
doc: generated by build-man.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
weihanglo committed Feb 20, 2021
1 parent c36e6bf commit a706292
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/doc/man/generated_txt/cargo-install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ OPTIONS
a new temporary folder located in the temporary directory of the
platform.

When using --path, by default it will use target directory in the
workspace of the local crate unless --target-dir is specified.

--debug
Build with the dev profile instead the release profile.

Expand Down
5 changes: 4 additions & 1 deletion src/doc/src/commands/cargo-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,10 @@ target artifacts are placed in a separate directory. See the
specified with the <code>CARGO_TARGET_DIR</code> environment variable, or the
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>.
Defaults to a new temporary folder located in the
temporary directory of the platform.</dd>
temporary directory of the platform. </p>
<p>When using <code>--path</code>, by default it will use <code>target</code> directory in the workspace
of the local crate unless <code>--target-dir</code>
is specified.</dd>



Expand Down
6 changes: 5 additions & 1 deletion src/etc/man/cargo-install.1
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,11 @@ Directory for all generated artifacts and intermediate files. May also be
specified with the \fBCARGO_TARGET_DIR\fR environment variable, or the
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&.
Defaults to a new temporary folder located in the
temporary directory of the platform.
temporary directory of the platform.
.sp
When using \fB\-\-path\fR, by default it will use \fBtarget\fR directory in the workspace
of the local crate unless \fB\-\-target\-dir\fR
is specified.
.RE
.sp
\fB\-\-debug\fR
Expand Down

0 comments on commit a706292

Please sign in to comment.