Просмотр исходного кода

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

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

See merge request espressif/esp-idf!9291
Angus Gratton 5 лет назад
Родитель
Сommit
065d64555d
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      tools/idf_py_actions/serial_ext.py

+ 2 - 2
tools/idf_py_actions/serial_ext.py

@@ -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,