Tools: Mention ESPPORT and ESPBAUD in idf.py --help

Closes https://github.com/espressif/esp-idf/issues/5461
This commit is contained in:
Roland Dobai
2020-06-23 13:38:54 +02:00
parent dd99fc77cb
commit 0ff9b0a812

View File

@@ -143,7 +143,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,
@@ -151,7 +151,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,