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

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

See merge request espressif/esp-idf!9290
This commit is contained in:
Angus Gratton 2020-06-24 12:28:29 +08:00
commit ac2698ecb7

View file

@ -139,7 +139,7 @@ def action_extensions(base_actions, project_path):
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,
@ -147,7 +147,7 @@ def action_extensions(base_actions, project_path):
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,