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
b7c33ad523
commit
da3320290c
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ class Argparse(Configs):
|
|||
if args[0] == '-' and args[:2] != '--' and len(args) >= 3 and '=' not in args:
|
||||
self.args.remove(args)
|
||||
|
||||
for opt in list(map(lambda item: f'-{item}', [arg for arg in list(args[1:])])):
|
||||
for opt in list(map(lambda x: f'-{x}', [arg for arg in list(args[1:])])):
|
||||
if opt in self.commands.keys():
|
||||
self.args.insert(0, opt)
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue