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
66
77## SYNOPSIS
88
9- ` cargo login ` [ _ options_ ] [ _ token_ ] -- [ _ args_ ]
9+ ` cargo login ` [ _ options_ ] [ _ token_ ] [ ` -- ` _ args_ ]
1010
1111## DESCRIPTION
1212
1313This command will run a credential provider to save a token so that commands
1414that require authentication, such as {{man "cargo-publish" 1}}, will be
1515automatically authenticated.
1616
17+ All the arguments following the two dashes (` -- ` ) are passed to the credential provider.
18+
1719For the default ` cargo:token ` credential provider, the token is saved
1820in ` $CARGO_HOME/credentials.toml ` . ` CARGO_HOME ` defaults to ` .cargo `
1921in your home directory.
Original file line number Diff line number Diff line change 44 cargo-login — Log in to a registry
55
66SYNOPSIS
7- cargo login [options] [token] – [ args]
7+ cargo login [options] [token] [-- args]
88
99DESCRIPTION
1010 This command will run a credential provider to save a token so that
1111 commands that require authentication, such as cargo-publish(1), will be
1212 automatically authenticated.
1313
14+ All the arguments following the two dashes (--) are passed to the
15+ credential provider.
16+
1417 For the default cargo:token credential provider, the token is saved in
1518 $CARGO_HOME/credentials.toml. CARGO_HOME defaults to .cargo in your home
1619 directory.
Original file line number Diff line number Diff line change @@ -6,14 +6,16 @@ cargo-login --- Log in to a registry
66
77## SYNOPSIS
88
9- ` cargo login ` [ _ options_ ] [ _ token_ ] -- [ _ args_ ]
9+ ` cargo login ` [ _ options_ ] [ _ token_ ] [ ` -- ` _ args_ ]
1010
1111## DESCRIPTION
1212
1313This command will run a credential provider to save a token so that commands
1414that require authentication, such as [ cargo-publish(1)] ( cargo-publish.html ) , will be
1515automatically authenticated.
1616
17+ All the arguments following the two dashes (` -- ` ) are passed to the credential provider.
18+
1719For the default ` cargo:token ` credential provider, the token is saved
1820in ` $CARGO_HOME/credentials.toml ` . ` CARGO_HOME ` defaults to ` .cargo `
1921in your home directory.
Original file line number Diff line number Diff line change 66.SH "NAME"
77cargo\- login \[em ] Log in to a registry
88.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 ]
1010.SH "DESCRIPTION"
1111This command will run a credential provider to save a token so that commands
1212that require authentication, such as \fB cargo \- publish \fR (1), will be
1313automatically authenticated.
1414.sp
15+ All the arguments following the two dashes (\fB \-\- \fR ) are passed to the credential provider.
16+ .sp
1517For the default \fB cargo:token \fR credential provider, the token is saved
1618in \fB $CARGO_HOME/credentials.toml \fR \& . \fB CARGO_HOME \fR defaults to \fB \& .cargo \fR
1719in your home directory.
You can’t perform that action at this time.
0 commit comments