mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
cargo fmt
This commit is contained in:
parent
ac5a1c6bea
commit
643f14847a
2 changed files with 2 additions and 4 deletions
|
|
@ -2,8 +2,7 @@ use super::*;
|
|||
|
||||
pub fn cmds() -> impl Iterator<Item = Command> {
|
||||
[
|
||||
command!("import", Optional(("url", OpaqueStringRemainder)) => "import")
|
||||
.flag(YES),
|
||||
command!("import", Optional(("url", OpaqueStringRemainder)) => "import").flag(YES),
|
||||
command!("export" => "export"),
|
||||
]
|
||||
.into_iter()
|
||||
|
|
|
|||
|
|
@ -252,8 +252,7 @@ pub fn edit() -> impl Iterator<Item = Command> {
|
|||
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"]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue