diff --git a/slpkg/main.py b/slpkg/main.py index bce67d41..a504938c 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -284,9 +284,8 @@ class Argparse(Configs): print(f"{self.prog_name}: invalid combination '{', '.join(commands)}'") self.usage.help_minimal() - options = self.commands[self.args[0]] - # Fixed for correct options by command. + options = self.commands[self.args[0]] for opt in self.flags: if opt not in options: invalid.append(opt)