fix(espefuse): Update CLI to support rich-click 1.9.0

https://github.com/espressif/esptool/pull/1121
This commit is contained in:
Peter Dragun
2025-09-15 16:37:44 +02:00
parent bb8cd9bc71
commit 2ae5535671

View File

@@ -220,7 +220,7 @@ class Group(EsptoolGroup):
commands = init_commands(port=None, chip=ctx.obj["chip"], skip_connect=True)
commands.add_cli_commands(self)
elif len(used_cmds) == 0:
self.get_help(ctx)
log.print(self.get_help(ctx))
ctx.exit()
cmd_groups = self.repeat_read_commands(used_cmds, cmd_groups)