Merge branch 'bugfix/idf_py_help_env_var_v4.0' into 'release/v4.0'

Tools: Mention ESPPORT and ESPBAUD in idf.py --help (v4.0)

See merge request espressif/esp-idf!9292
This commit is contained in:
Angus Gratton 2020-06-26 14:43:02 +08:00
commit a68b9272c5

View file

@ -1152,7 +1152,7 @@ def init_cli():
baud_rate = {
"names": ["-b", "--baud"],
"help": "Baud rate for flashing.",
"help": "Baud rate for flashing. The default value can be set with the ESPBAUD environment variable.",
"scope": "global",
"envvar": "ESPBAUD",
"default": 460800,
@ -1160,7 +1160,7 @@ def init_cli():
port = {
"names": ["-p", "--port"],
"help": "Serial port.",
"help": "Serial port. The default value can be set with the ESPPORT environment variable.",
"scope": "global",
"envvar": "ESPPORT",
"default": None,