mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Fixed for recurring options
This commit is contained in:
parent
943f5aa5fb
commit
50c14c225f
1 changed files with 0 additions and 3 deletions
|
@ -283,9 +283,6 @@ class Argparse(Configs):
|
|||
if opt[0] == '-' and opt in self.options:
|
||||
if self.flags.count(opt) > 1:
|
||||
repeat.append(opt)
|
||||
if opt[:2] == '--':
|
||||
if opt == self.options[self.options.index(opt)]:
|
||||
repeat.append(opt)
|
||||
|
||||
# Fixed for recurring options.
|
||||
if repeat:
|
||||
|
|
Loading…
Add table
Reference in a new issue