Updated for comments

This commit is contained in:
Dimitris Zlatanidis 2023-03-16 13:38:57 +02:00
parent 34d8e20726
commit 23b8432867

View file

@ -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