diff --git a/crates/command_definitions/src/import_export.rs b/crates/command_definitions/src/import_export.rs index 1fcfdb4d..beed5e72 100644 --- a/crates/command_definitions/src/import_export.rs +++ b/crates/command_definitions/src/import_export.rs @@ -2,8 +2,7 @@ use super::*; pub fn cmds() -> impl Iterator { [ - command!("import", Optional(("url", OpaqueStringRemainder)) => "import") - .flag(YES), + command!("import", Optional(("url", OpaqueStringRemainder)) => "import").flag(YES), command!("export" => "export"), ] .into_iter() diff --git a/crates/command_definitions/src/system.rs b/crates/command_definitions/src/system.rs index 8fc1c440..4d3b7c4c 100644 --- a/crates/command_definitions/src/system.rs +++ b/crates/command_definitions/src/system.rs @@ -252,8 +252,7 @@ pub fn edit() -> impl Iterator { let system_front = tokens!(system_target, ("front", ["fronter", "fronters", "f"])); let system_front_cmd = [ command!(system_front => "system_fronter"), - command!(system_front, ("history", ["h"]) => "system_fronter_history") - .flag(CLEAR), + command!(system_front, ("history", ["h"]) => "system_fronter_history").flag(CLEAR), command!(system_front, ("percent", ["p", "%"]) => "system_fronter_percent") .flag(("duration", OpaqueString)) .flag(("fronters-only", ["fo"]))