summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/uninstall.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/uninstall.py b/lib/spack/spack/cmd/uninstall.py
index 2757d5d232..f03270d06d 100644
--- a/lib/spack/spack/cmd/uninstall.py
+++ b/lib/spack/spack/cmd/uninstall.py
@@ -26,7 +26,8 @@ level = "short"
error_message = """You can either:
a) use a more specific spec, or
- b) use `spack uninstall --all` to uninstall ALL matching specs.
+ b) specify the package by its hash (e.g. `spack uninstall /hash`), or
+ c) use `spack uninstall --all` to uninstall ALL matching specs.
"""
# Arguments for display_specs when we find ambiguity