Patch NewOption to allow any order of flags.