From e6b6ac589854f5769eabc984acab772c87de584a Mon Sep 17 00:00:00 2001 From: Carson Woods Date: Thu, 21 Nov 2019 12:30:15 -0700 Subject: [PATCH] Fixed error message to use proper --upstream rather than -u --- lib/spack/spack/cmd/uninstall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/cmd/uninstall.py b/lib/spack/spack/cmd/uninstall.py index 5ba41f66f28..4889215b2e1 100644 --- a/lib/spack/spack/cmd/uninstall.py +++ b/lib/spack/spack/cmd/uninstall.py @@ -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