diff options
author | Robert Rosca <32569096+RobertRosca@users.noreply.github.com> | 2020-05-29 13:23:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-29 13:23:02 +0200 |
commit | edd075a5e1031cfedde904f194e1cf79e0fc76f7 (patch) | |
tree | c5be6eee8bc2bf3e7684715636e878bca2bfb1a1 | |
parent | bd95b7df861b079c5490ee13cbb8d44a6ca2106a (diff) | |
download | spack-edd075a5e1031cfedde904f194e1cf79e0fc76f7.tar.gz spack-edd075a5e1031cfedde904f194e1cf79e0fc76f7.tar.bz2 spack-edd075a5e1031cfedde904f194e1cf79e0fc76f7.tar.xz spack-edd075a5e1031cfedde904f194e1cf79e0fc76f7.zip |
Mention that packages can be uninstalled by hash (#16863)
-rw-r--r-- | lib/spack/spack/cmd/uninstall.py | 3 |
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 |