File tree Expand file tree Collapse file tree 4 files changed +13
-4
lines changed Expand file tree Collapse file tree 4 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,16 @@ cargo-login --- Log in to a registry
6
6
7
7
## SYNOPSIS
8
8
9
- ` cargo login ` [ _ options_ ] [ _ token_ ] -- [ _ args_ ]
9
+ ` cargo login ` [ _ options_ ] [ _ token_ ] [ ` -- ` _ args_ ]
10
10
11
11
## DESCRIPTION
12
12
13
13
This command will run a credential provider to save a token so that commands
14
14
that require authentication, such as {{man "cargo-publish" 1}}, will be
15
15
automatically authenticated.
16
16
17
+ All the arguments following the two dashes (` -- ` ) are passed to the credential provider.
18
+
17
19
For the default ` cargo:token ` credential provider, the token is saved
18
20
in ` $CARGO_HOME/credentials.toml ` . ` CARGO_HOME ` defaults to ` .cargo `
19
21
in your home directory.
Original file line number Diff line number Diff line change 4
4
cargo-login — Log in to a registry
5
5
6
6
SYNOPSIS
7
- cargo login [options] [token] – [ args]
7
+ cargo login [options] [token] [-- args]
8
8
9
9
DESCRIPTION
10
10
This command will run a credential provider to save a token so that
11
11
commands that require authentication, such as cargo-publish(1), will be
12
12
automatically authenticated.
13
13
14
+ All the arguments following the two dashes (--) are passed to the
15
+ credential provider.
16
+
14
17
For the default cargo:token credential provider, the token is saved in
15
18
$CARGO_HOME/credentials.toml. CARGO_HOME defaults to .cargo in your home
16
19
directory.
Original file line number Diff line number Diff line change @@ -6,14 +6,16 @@ cargo-login --- Log in to a registry
6
6
7
7
## SYNOPSIS
8
8
9
- ` cargo login ` [ _ options_ ] [ _ token_ ] -- [ _ args_ ]
9
+ ` cargo login ` [ _ options_ ] [ _ token_ ] [ ` -- ` _ args_ ]
10
10
11
11
## DESCRIPTION
12
12
13
13
This command will run a credential provider to save a token so that commands
14
14
that require authentication, such as [ cargo-publish(1)] ( cargo-publish.html ) , will be
15
15
automatically authenticated.
16
16
17
+ All the arguments following the two dashes (` -- ` ) are passed to the credential provider.
18
+
17
19
For the default ` cargo:token ` credential provider, the token is saved
18
20
in ` $CARGO_HOME/credentials.toml ` . ` CARGO_HOME ` defaults to ` .cargo `
19
21
in your home directory.
Original file line number Diff line number Diff line change 6
6
.SH "NAME"
7
7
cargo\- login \[em ] Log in to a registry
8
8
.SH "SYNOPSIS"
9
- \fB cargo login \fR [\fI options \fR ] [\fI token \fR ] \[ en ] [ \fI args \fR ]
9
+ \fB cargo login \fR [\fI options \fR ] [\fI token \fR ] [ \fB \-\- \fR \fI args \fR ]
10
10
.SH "DESCRIPTION"
11
11
This command will run a credential provider to save a token so that commands
12
12
that require authentication, such as \fB cargo \- publish \fR (1), will be
13
13
automatically authenticated.
14
14
.sp
15
+ All the arguments following the two dashes (\fB \-\- \fR ) are passed to the credential provider.
16
+ .sp
15
17
For the default \fB cargo:token \fR credential provider, the token is saved
16
18
in \fB $CARGO_HOME/credentials.toml \fR \& . \fB CARGO_HOME \fR defaults to \fB \& .cargo \fR
17
19
in your home directory.
You can’t perform that action at this time.
0 commit comments