Option parsing in main completed