mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Updated for comments
This commit is contained in:
parent
65ebdad2a3
commit
943f5aa5fb
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ class Argparse(Configs):
|
|||
elif arg[0] == '-' and arg not in self.options:
|
||||
invalid.append(arg)
|
||||
|
||||
# Counts the doubles options.
|
||||
# Counts the recurring options.
|
||||
for opt in self.flags:
|
||||
if opt[0] == '-' and opt in self.options:
|
||||
if self.flags.count(opt) > 1:
|
||||
|
|
Loading…
Reference in a new issue