Changed --uri to --location in error message