mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Updated for coding style
This commit is contained in:
parent
4bf511864c
commit
4319ea82a6
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue