reset state before parsing new command line options