mirror of
https://github.com/chmln/handlr.git
synced 2024-11-14 21:49:27 +01:00
upd
This commit is contained in:
parent
13d3b0f5f8
commit
5ce3e839e3
1 changed files with 3 additions and 3 deletions
|
@ -27,8 +27,8 @@ enum Cmd {
|
||||||
handler: Handler,
|
handler: Handler,
|
||||||
},
|
},
|
||||||
Unset {
|
Unset {
|
||||||
mime: Mime
|
mime: Mime,
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() -> Result<()> {
|
fn main() -> Result<()> {
|
||||||
|
@ -58,7 +58,7 @@ fn main() -> Result<()> {
|
||||||
},
|
},
|
||||||
Cmd::List => {
|
Cmd::List => {
|
||||||
apps.print()?;
|
apps.print()?;
|
||||||
},
|
}
|
||||||
Cmd::Unset { mime } => {
|
Cmd::Unset { mime } => {
|
||||||
apps.remove_handler(&mime)?;
|
apps.remove_handler(&mime)?;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue