From f06d3ff5bbf7060f8616e8c1131bcae004d1f9f0 Mon Sep 17 00:00:00 2001 From: Peter Dragun Date: Wed, 6 Sep 2023 14:32:48 +0200 Subject: [PATCH] fix(tools): fix autocomplete for --port option Closes https://github.com/espressif/esp-idf/issues/7970 --- tools/idf_py_actions/serial_ext.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/idf_py_actions/serial_ext.py b/tools/idf_py_actions/serial_ext.py index 4dc73e2539..76f7cb85c1 100644 --- a/tools/idf_py_actions/serial_ext.py +++ b/tools/idf_py_actions/serial_ext.py @@ -216,6 +216,7 @@ def action_extensions(base_actions: Dict, project_path: str) -> Dict: 'help': 'Serial port.', 'scope': 'global', 'envvar': 'ESPPORT', + 'type': click.Path(), 'default': None, }