Skip to content

Commit f996154

Browse files
authored
fix docstring (#17834)
1 parent b8dfc92 commit f996154

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conan/cli/commands/remote.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def print_auth_json(results):
278278
@conan_subcommand(formatters={"text": print_auth, "json": print_auth_json})
279279
def remote_auth(conan_api, parser, subparser, *args):
280280
"""
281-
Authenticate in the defined remotes. Use CONAN_LOGIN* and CONAN_PASSWORD* variables if available.
281+
Authenticate in the defined remotes. Use CONAN_LOGIN_USERNAME* and CONAN_PASSWORD* variables if available.
282282
Ask for username and password interactively in case (re-)authentication is required and there are
283283
no CONAN_LOGIN* and CONAN_PASSWORD* variables available which could be used.
284284
Usually you'd use this method over conan remote login for scripting which needs to run in CI
@@ -288,7 +288,7 @@ def remote_auth(conan_api, parser, subparser, *args):
288288
" The pattern uses 'fnmatch' style wildcards.")
289289
subparser.add_argument("--with-user", action="store_true",
290290
help="Only try to auth in those remotes that already "
291-
"have a username or a CONAN_LOGIN_ env-var defined")
291+
"have a username or a CONAN_LOGIN_USERNAME* env-var defined")
292292
subparser.add_argument("--force", action="store_true",
293293
help="Force authentication for anonymous-enabled repositories. "
294294
"Can be used for force authentication in case your Artifactory "

0 commit comments

Comments
 (0)