hangman now works

This commit is contained in:
2019-04-09 07:18:05 +02:00
parent 1fed1eef8e
commit 7130a53e7d
2 changed files with 8 additions and 9 deletions

View File

@ -207,8 +207,8 @@ class TiramisuCmdlineParser(ArgumentParser):
if 'positional' in properties:
if option.type() == 'boolean':
raise ValueError('boolean option must not be positional')
if not 'mandatory' in properties:
raise ValueError('"positional" argument must be "mandatory" too')
# if not 'mandatory' in properties:
# raise ValueError('"positional" argument must be "mandatory" too')
args = [option.path()]
if _forhelp:
kwargs['default'] = obj.value.default()