From d8353879243c290de7a2235bcfdc8b68b68c2a6f Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Mon, 21 Jun 2021 10:22:23 +0200 Subject: [PATCH] tools: make idf_tools.py download --platform argument optional ...as it is described in the docs. --- tools/idf_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/idf_tools.py b/tools/idf_tools.py index cf9909c06f..c375524fc2 100755 --- a/tools/idf_tools.py +++ b/tools/idf_tools.py @@ -1715,7 +1715,7 @@ def main(argv): # type: (list[str]) -> None ' It defaults to installing all supported targets.') download = subparsers.add_parser('download', help='Download the tools into the dist directory') - download.add_argument('--platform', help='Platform to download the tools for') + download.add_argument('--platform', default=CURRENT_PLATFORM, help='Platform to download the tools for') download.add_argument('tools', metavar='TOOL', nargs='*', default=['required'], help='Tools to download. ' + 'To download a specific version use @ syntax. ' +