[tor-commits] [metrics-tasks/master] task-6329: move OptionParser creation to its own function