fix --rebuild-cache command line arg