fix some parameters that should parse remainder but werent

This commit is contained in:
dusk 2025-10-15 19:10:44 +00:00
parent a307dd37c4
commit 2fe747d704
No known key found for this signature in database
4 changed files with 28 additions and 21 deletions

View file

@ -20,7 +20,7 @@ pub fn cmds() -> impl Iterator<Item = Command> {
command!(switch, ("commands", ["help"]) => "switch_commands"),
command!(switch, out => "switch_out"),
command!(switch, delete => "switch_delete").flag(("all", ["clear", "c"])),
command!(switch, r#move, OpaqueString => "switch_move"), // TODO: datetime parsing
command!(switch, r#move, OpaqueStringRemainder => "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),