diff --git a/tiramisu_cmdline_parser.py b/tiramisu_cmdline_parser.py index 1730be1..31cc8e5 100644 --- a/tiramisu_cmdline_parser.py +++ b/tiramisu_cmdline_parser.py @@ -206,8 +206,7 @@ class TiramisuCmdlineParser(ArgumentParser): elif option.type() == 'int': kwargs['type'] = int elif option.issymlinkoption(): - option = option.impl_getopt() - actions[option.impl_getname()][0].insert(0, args[0]) + actions[option.name(follow_symlink=True)][0].insert(0, args[0]) continue elif option.type() == 'choice': kwargs['choices'] = obj.value.list()