mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-06 11:35:45 +00:00
utils: fix usage of the -n, --no flag
This commit is contained in:
parent
dedf7c0eca
commit
b614533fd5
@ -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.")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user