diff --git a/crates/command_definitions/src/switch.rs b/crates/command_definitions/src/switch.rs index 42a3fda7..94f0e0d8 100644 --- a/crates/command_definitions/src/switch.rs +++ b/crates/command_definitions/src/switch.rs @@ -17,14 +17,14 @@ pub fn cmds() -> impl Iterator { ]; [ + command!(switch, ("commands", ["help"]) => "switch_commands"), command!(switch, out => "switch_out"), - command!(switch, r#move, OpaqueString => "switch_move"), // TODO: datetime parsing command!(switch, delete => "switch_delete").flag(("all", ["clear", "c"])), + command!(switch, r#move, OpaqueString => "switch_move"), // TODO: datetime parsing command!(switch, edit, out => "switch_edit_out").flag(YES), command!(switch, edit, Optional(MemberRefs) => "switch_edit").flags(edit_flags), command!(switch, copy, Optional(MemberRefs) => "switch_copy").flags(edit_flags), - command!(switch, ("commands", ["help"]) => "switch_commands"), - command!(switch, Optional(MemberRefs) => "switch_do"), + command!(switch, MemberRefs => "switch_do"), ] .into_iter() }