Skip to content

Commit

Permalink
Auto merge of #12073 - roj1512:patch-1, r=arlosi
Browse files Browse the repository at this point in the history
docs(commands): add missed preposition
  • Loading branch information
bors committed May 1, 2023
2 parents ee7f4c3 + c4ba59f commit 93f7b78
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/doc/man/cargo-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Directory to install packages into.
{{> options-target-dir }}

{{#option "`--debug`" }}
Build with the `dev` profile instead the `release` profile.
Build with the `dev` profile instead of the `release` profile.
See also the `--profile` option for choosing a specific profile by name.
{{/option}}

Expand Down
4 changes: 2 additions & 2 deletions src/doc/man/generated_txt/cargo-install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ OPTIONS
workspace of the local crate unless --target-dir is specified.

--debug
Build with the dev profile instead the release profile. See also the
--profile option for choosing a specific profile by name.
Build with the dev profile instead of the release profile. See also
the --profile option for choosing a specific profile by name.

--profile name
Install with the given profile. See the the reference
Expand Down
2 changes: 1 addition & 1 deletion src/doc/src/commands/cargo-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ is specified.</dd>


<dt class="option-term" id="option-cargo-install---debug"><a class="option-anchor" href="#option-cargo-install---debug"></a><code>--debug</code></dt>
<dd class="option-desc">Build with the <code>dev</code> profile instead the <code>release</code> profile.
<dd class="option-desc">Build with the <code>dev</code> profile instead of the <code>release</code> profile.
See also the <code>--profile</code> option for choosing a specific profile by name.</dd>


Expand Down
2 changes: 1 addition & 1 deletion src/etc/man/cargo-install.1
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ is specified.
.sp
\fB\-\-debug\fR
.RS 4
Build with the \fBdev\fR profile instead the \fBrelease\fR profile.
Build with the \fBdev\fR profile instead of the \fBrelease\fR profile.
See also the \fB\-\-profile\fR option for choosing a specific profile by name.
.RE
.sp
Expand Down

0 comments on commit 93f7b78

Please sign in to comment.