mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Updated for coding style
This commit is contained in:
parent
335d3644b1
commit
f46fbb74ee
1 changed files with 1 additions and 3 deletions
|
@ -268,9 +268,7 @@ class Argparse(Configs):
|
||||||
|
|
||||||
def invalid_options(self) -> None:
|
def invalid_options(self) -> None:
|
||||||
""" Checks for invalid options. """
|
""" Checks for invalid options. """
|
||||||
invalid: list = []
|
invalid, commands, repeat = [], [], []
|
||||||
commands: list = []
|
|
||||||
repeat: list = []
|
|
||||||
|
|
||||||
for arg in self.args:
|
for arg in self.args:
|
||||||
if arg[0] == '-' and arg in self.commands.keys():
|
if arg[0] == '-' and arg in self.commands.keys():
|
||||||
|
|
Loading…
Add table
Reference in a new issue