| 783 | return None |
| 784 | |
| 785 | def task_configuration_error(flag_name): |
| 786 | parser.error(""" |
| 787 | \"{}\" was removed from the configuration options. |
| 788 | You can now change the behavior of the bot by modifying the \"tasks\" key. |
| 789 | Read https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Configuration-files#configuring-tasks for more information. |
| 790 | """.format(flag_name)) |
| 791 | |
| 792 | old_flags = ['mode', 'catch_pokemon', 'spin_forts', 'forts_spin', 'hatch_eggs', 'release_pokemon', 'softban_fix', |
| 793 | 'longer_eggs_first', 'evolve_speed', 'use_lucky_egg', 'item_filter', 'evolve_all', 'evolve_cp_min', |