Use consistent envvars for dump_devinfo credentials (#618)

This commit is contained in:
Teemu R 2024-01-04 19:28:59 +01:00 committed by GitHub
parent 7a3eedeee9
commit 7e6eaf4ab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,14 +101,14 @@ def default_to_regular(d):
"--username", "--username",
default="", default="",
required=False, required=False,
envvar="TPLINK_CLOUD_USERNAME", envvar="KASA_USERNAME",
help="Username/email address to authenticate to device.", help="Username/email address to authenticate to device.",
) )
@click.option( @click.option(
"--password", "--password",
default="", default="",
required=False, required=False,
envvar="TPLINK_CLOUD_PASSWORD", envvar="KASA_PASSWORD",
help="Password to use to authenticate to device.", help="Password to use to authenticate to device.",
) )
@click.option("-d", "--debug", is_flag=True) @click.option("-d", "--debug", is_flag=True)