diff --git a/pokecli.py b/pokecli.py index b2cc91e3eb..61665daa77 100755 --- a/pokecli.py +++ b/pokecli.py @@ -232,35 +232,6 @@ def init_config(): default=50 ) - add_config( - parser, - load, - short_flag="-n", - long_flag="--navigator.type", - help="Set the navigator to be used(DEFAULT spiral)", - type=str, - default='spiral' - ) - - add_config( - parser, - load, - short_flag="-pm", - long_flag="--navigator.path_mode", - help="Set the mode for the path navigator (DEFAULT loop)", - type=str, - default="loop" - ) - - add_config( - parser, - load, - short_flag="-pf", - long_flag="--navigator.path_file", - help="Set the file containing the path for the path navigator (GPX or JSON).", - type=str, - default=None - ) add_config( parser, load, @@ -405,7 +376,7 @@ def task_configuration_error(flag_name): task_configuration_error(flag) return None - nested_old_flags = [('forts', 'spin'), ('forts', 'move_to_spin')] + nested_old_flags = [('forts', 'spin'), ('forts', 'move_to_spin'), ('navigator', 'path_mode'), ('navigator', 'path_file'), ('navigator', 'type')] for outer, inner in nested_old_flags: if load.get(outer, {}).get(inner, None): task_configuration_error('{}.{}'.format(outer, inner))