diff --git a/slpkg/main.py b/slpkg/main.py index a57d6049..ec39c9f7 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -280,9 +280,8 @@ class Argparse(Configs): # Counts the recurring options. for opt in self.flags: - if opt[0] == '-' and opt in self.options: - if self.flags.count(opt) > 1: - repeat.append(opt) + if self.flags.count(opt) > 1: + repeat.append(opt) # Fixed for recurring options. if repeat: