mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 11:13: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",
|
||||
default="",
|
||||
required=False,
|
||||
envvar="TPLINK_CLOUD_USERNAME",
|
||||
envvar="KASA_USERNAME",
|
||||
help="Username/email address to authenticate to device.",
|
||||
)
|
||||
@click.option(
|
||||
"--password",
|
||||
default="",
|
||||
required=False,
|
||||
envvar="TPLINK_CLOUD_PASSWORD",
|
||||
envvar="KASA_PASSWORD",
|
||||
help="Password to use to authenticate to device.",
|
||||
)
|
||||
@click.option("-d", "--debug", is_flag=True)
|
||||
|
Loading…
Reference in New Issue
Block a user