symlink support
This commit is contained in:
parent
687fd8e260
commit
727e8e86ca
|
@ -206,8 +206,7 @@ class TiramisuCmdlineParser(ArgumentParser):
|
||||||
elif option.type() == 'int':
|
elif option.type() == 'int':
|
||||||
kwargs['type'] = int
|
kwargs['type'] = int
|
||||||
elif option.issymlinkoption():
|
elif option.issymlinkoption():
|
||||||
option = option.impl_getopt()
|
actions[option.name(follow_symlink=True)][0].insert(0, args[0])
|
||||||
actions[option.impl_getname()][0].insert(0, args[0])
|
|
||||||
continue
|
continue
|
||||||
elif option.type() == 'choice':
|
elif option.type() == 'choice':
|
||||||
kwargs['choices'] = obj.value.list()
|
kwargs['choices'] = obj.value.list()
|
||||||
|
|
Loading…
Reference in New Issue