update command line & error reporting