Add --reset option to trigger a reset both before and after flashing.