From e2cdacc9199a2d8215b3e67a064451354f4e1912 Mon Sep 17 00:00:00 2001 From: Chris Combs Date: Tue, 19 Jul 2022 11:36:49 -0400 Subject: [PATCH] #577 - Fix GUI: Choosing "Same file extension" results in "ERROR: Unknown option --match-with-extension." --- gui/shredder/runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/shredder/runner.py b/gui/shredder/runner.py index aeb9f8a5e..e6cfd3c54 100644 --- a/gui/shredder/runner.py +++ b/gui/shredder/runner.py @@ -57,8 +57,8 @@ class MatchType(Enum): MAPPING = { NONE: [], BASENAME: ['--match-basename'], - EXTENSION: ['--match-with-extension'], - WITHOUT_EXTENSION: ['--match-without-extension'] + EXTENSION: ['--match-extension'], + WITHOUT_EXTENSION: ['--no-match-extension'] }