Fixed error message to use proper --upstream rather than -u

This commit is contained in:
Carson Woods
2019-11-21 12:30:15 -07:00
parent 35037bf088
commit e6b6ac5898

View File

@@ -115,7 +115,7 @@ def find_matching_specs(env, specs, allow_multiple_matches=False, force=False,
spec_copy.concretize()
if spec_copy.package.installed_upstream:
tty.warn("{0} is installed upstream".format(spec_name))
tty.die("Use 'spack uninstall [-u upstream_name]'")
tty.die("Use 'spack uninstall [--upstream upstream_name]'")
# constrain uninstall resolution to current environment if one is active
hashes = env.all_hashes() if env else None