diff --git a/slpkg/main.py b/slpkg/main.py index 618ef4e0..fdc4cc78 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -283,6 +283,9 @@ class Argparse(Configs): if opt[0] == '-' and opt in self.options: if self.flags.count(opt) > 1: repeat.append(opt) + if len(opt) > 2: + if opt == self.options[self.options.index(opt)]: + repeat.append(opt) # Fixed for recurring options. if repeat: