This commit is contained in:
Greg 2020-05-01 10:35:41 -04:00
parent 13d3b0f5f8
commit 5ce3e839e3

View file

@ -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)?;
} }