utils: fix usage of the -n, --no flag

This commit is contained in:
Vinícius Miguel 2021-04-08 22:31:10 -03:00
parent dedf7c0eca
commit b614533fd5

View File

@ -105,7 +105,7 @@ pub fn permission_for_overwriting(
flags: &oof::Flags,
confirm: &Confirmation,
) -> crate::Result<bool> {
match (flags.is_present("yes"), flags.is_present("false")) {
match (flags.is_present("yes"), flags.is_present("no")) {
(true, true) => {
unreachable!("This should've been cutted out in the ~/src/cli.rs filter flags function.")
}