Updated for coding style

This commit is contained in:
Dimitris Zlatanidis 2023-03-17 10:15:53 +02:00
parent 4bf511864c
commit 4319ea82a6

View file

@ -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)