Mole icon indicating copy to clipboard operation
Mole copied to clipboard

[BUG] optimiz[s]e - twin in commands list

Open Christian-SC26 opened this issue 6 months ago • 1 comments

Describe the bug

just two same options in command list (mo --help)

Christian-SC26 avatar May 04 '26 13:05 Christian-SC26

@Christian-SC26 Thanks for the report.

Fixed on main in 3635321.

What changed:

  • Removed the duplicate mo optimise entry from the shared command list used by mo --help and shell completions.
  • Kept mo optimise working as a compatibility alias, so existing users can still run it.
  • Added a CLI regression test to make sure mo --help shows mo optimize once and does not list the alias as a separate command.

tw93 avatar May 04 '26 15:05 tw93