mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 14:57:54 +00:00
remove OpaqueStringRemainder and use Remainder like intended
This commit is contained in:
parent
67865263c1
commit
d8748b1efc
10 changed files with 46 additions and 50 deletions
|
|
@ -2,7 +2,7 @@ use super::*;
|
|||
|
||||
pub fn cmds() -> impl Iterator<Item = Command> {
|
||||
[
|
||||
command!("import", Optional(("url", OpaqueStringRemainder)) => "import").flag(YES),
|
||||
command!("import", Optional(Remainder(("url", OpaqueString))) => "import").flag(YES),
|
||||
command!("export" => "export"),
|
||||
]
|
||||
.into_iter()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue