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,
},
Unset {
mime: Mime
}
mime: Mime,
},
}
fn main() -> Result<()> {
@ -58,7 +58,7 @@ fn main() -> Result<()> {
},
Cmd::List => {
apps.print()?;
},
}
Cmd::Unset { mime } => {
apps.remove_handler(&mime)?;
}