From 649abd203e8af6d8b6daa9c52ee5ac9071c445da 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 9b8dfb8c74..4638dc2b28 100644 --- a/tools/idf_py_actions/serial_ext.py +++ b/tools/idf_py_actions/serial_ext.py @@ -162,6 +162,7 @@ def action_extensions(base_actions, project_path): 'help': 'Serial port.', 'scope': 'global', 'envvar': 'ESPPORT', + 'type': click.Path(), 'default': None, }