mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
Use consistent envvars for dump_devinfo credentials (#618)
This commit is contained in:
parent
7a3eedeee9
commit
7e6eaf4ab2
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user