Skip to content

Commit a6972e5

Browse files
committed
doc (publish): add info about stdin token to publish docs
1 parent 64f3555 commit a6972e5

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

src/doc/man/cargo-publish.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ following steps:
3030

3131
This command requires you to be authenticated with either the `--token` option
3232
or using {{man "cargo-login" 1}}.
33+
Instead of `--token` option, _token_ value might also be provided via stdin.
3334

3435
See [the reference](../reference/publishing.html) for more details about
3536
packaging and publishing.

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ DESCRIPTION
2626
manually. This timeout does not affect the upload.
2727

2828
This command requires you to be authenticated with either the --token
29-
option or using cargo-login(1).
29+
option or using cargo-login(1). Instead of --token option, token value
30+
might also be provided via stdin.
3031

3132
See the reference
3233
<https://doc.rust-lang.org/cargo/reference/publishing.html> for more

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ following steps:
2626

2727
This command requires you to be authenticated with either the `--token` option
2828
or using [cargo-login(1)](cargo-login.html).
29+
Instead of `--token` option, _token_ value might also be provided via stdin.
2930

3031
See [the reference](../reference/publishing.html) for more details about
3132
packaging and publishing.

src/etc/man/cargo-publish.1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ manually. This timeout does not affect the upload.
3939
.sp
4040
This command requires you to be authenticated with either the \fB\-\-token\fR option
4141
or using \fBcargo\-login\fR(1).
42+
Instead of \fB\-\-token\fR option, \fItoken\fR value might also be provided via stdin.
4243
.sp
4344
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/publishing.html> for more details about
4445
packaging and publishing.

0 commit comments

Comments
 (0)