From 89711a2710db14516eff4f8b6581b8b1b2186091 Mon Sep 17 00:00:00 2001 From: Antoine van Gelder Date: Mon, 1 Jul 2024 15:05:33 +0200 Subject: [PATCH] cli: remove 'flash' alias for 'flash-program' --- apollo_fpga/commands/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apollo_fpga/commands/cli.py b/apollo_fpga/commands/cli.py index f9a82f5..538b18a 100755 --- a/apollo_fpga/commands/cli.py +++ b/apollo_fpga/commands/cli.py @@ -358,7 +358,7 @@ def jtag_debug_spi_register(device, args): # Flash commands Command("flash-erase", handler=erase_flash, help="Erases the contents of the FPGA's flash memory."), - Command("flash-program", alias=["flash"], args=["file", "--offset", (("--fast",), dict(action='store_true'))], + Command("flash-program", args=["file", "--offset", (("--fast",), dict(action='store_true'))], handler=program_flash, help="Programs the target bitstream onto the FPGA's configuration flash."), Command("flash-fast", args=["file", "--offset"], handler=program_flash_fast_deprecated, help="Programs a bitstream onto the FPGA's configuration flash using a SPI bridge."),