mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-31 10:26:39 +01:00
Updated for comments
This commit is contained in:
parent
34d8e20726
commit
23b8432867
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ class Argparse(Configs):
|
|||
elif arg[0] == '--' and arg not in self.options:
|
||||
invalid.append(arg)
|
||||
|
||||
# Avoid to combine two or more options.
|
||||
# Avoid to add same options.
|
||||
if len(options) != len(set(options)):
|
||||
print(f"{self.prog_name}: you added the same \'{', '.join(options)}\' options.")
|
||||
error: int = 1
|
||||
|
|
Loading…
Reference in a new issue