From edd075a5e1031cfedde904f194e1cf79e0fc76f7 Mon Sep 17 00:00:00 2001 From: Robert Rosca <32569096+RobertRosca@users.noreply.github.com> Date: Fri, 29 May 2020 13:23:02 +0200 Subject: Mention that packages can be uninstalled by hash (#16863) --- lib/spack/spack/cmd/uninstall.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2