Skip to content

Commit

Permalink
cli: remove 'flash' alias for 'flash-program'
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinevg committed Jul 1, 2024
1 parent 8e1065b commit 89711a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apollo_fpga/commands/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."),
Expand Down

0 comments on commit 89711a2

Please sign in to comment.