Skip to content

Commit d07b2f0

Browse files
committed
cli/__init__.py: change "Re-run" to "Run" in the new menu option
1 parent 87626a9 commit d07b2f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pybricksdev/cli/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def is_pybricks_usb(dev):
244244
class ResponseOptions(IntEnum):
245245
RECOMPILE_RUN = 0
246246
RECOMPILE_DOWNLOAD = 1
247-
RERUN_STORED = 2
247+
RUN_STORED = 2
248248
CHANGE_TARGET_FILE = 3
249249
EXIT = 4
250250

@@ -273,7 +273,7 @@ async def reconnect_hub():
273273
response_options = [
274274
"Recompile and Run",
275275
"Recompile and Download",
276-
"Re-run Stored Program",
276+
"Run Stored Program",
277277
"Change Target File",
278278
"Exit",
279279
]
@@ -314,7 +314,7 @@ async def reconnect_hub():
314314
with _get_script_path(args.file) as script_path:
315315
await hub.download(script_path)
316316

317-
case ResponseOptions.RERUN_STORED:
317+
case ResponseOptions.RUN_STORED:
318318
if hub.fw_version < Version("v1.2.0"):
319319
print(
320320
"Running a stored program remotely is only supported in firmware version >= v1.2.0."

0 commit comments

Comments
 (0)