Improved configuration
This commit is contained in:
parent
b1165e169a
commit
8cf7f494b3
@ -197,6 +197,7 @@ class Configuration(ConfigurationABC):
|
|||||||
# ?new value
|
# ?new value
|
||||||
found = False
|
found = False
|
||||||
for alias in argument_type.aliases:
|
for alias in argument_type.aliases:
|
||||||
|
alias = f' {alias} '
|
||||||
if alias in argument:
|
if alias in argument:
|
||||||
found = True
|
found = True
|
||||||
|
|
||||||
@ -236,7 +237,7 @@ class Configuration(ConfigurationABC):
|
|||||||
self._additional_arguments.append(argument_type.name)
|
self._additional_arguments.append(argument_type.name)
|
||||||
result = True
|
result = True
|
||||||
|
|
||||||
if result:
|
if result and value == '':
|
||||||
self._handled_args.append(argument)
|
self._handled_args.append(argument)
|
||||||
if next_arguments is not None and len(next_arguments) > 0:
|
if next_arguments is not None and len(next_arguments) > 0:
|
||||||
next_args = []
|
next_args = []
|
||||||
|
Loading…
Reference in New Issue
Block a user