summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth Fischer <rpf2116@columbia.edu>2017-02-17 15:08:17 -0500
committerTodd Gamblin <tgamblin@llnl.gov>2017-02-17 12:08:17 -0800
commit29d070e50c3756bae4251865a5feed6ec4cb95a1 (patch)
tree84685342e194cad2bc690bbb1cbf86188cbe6807
parent71806132181a1916b046ab996951e61203de4739 (diff)
downloadspack-29d070e50c3756bae4251865a5feed6ec4cb95a1.tar.gz
spack-29d070e50c3756bae4251865a5feed6ec4cb95a1.tar.bz2
spack-29d070e50c3756bae4251865a5feed6ec4cb95a1.tar.xz
spack-29d070e50c3756bae4251865a5feed6ec4cb95a1.zip
On uninstall, change shortcut flag for --dependents to -R, as per Spack convention. (-r = --dependencies, -R = --dependents). (#1917)
-rw-r--r--lib/spack/spack/cmd/uninstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/uninstall.py b/lib/spack/spack/cmd/uninstall.py
index fb9094f1b4..5c33a4d648 100644
--- a/lib/spack/spack/cmd/uninstall.py
+++ b/lib/spack/spack/cmd/uninstall.py
@@ -61,7 +61,7 @@ def setup_parser(subparser):
"is both useful and dangerous, like rm -r")
subparser.add_argument(
- '-d', '--dependents', action='store_true', dest='dependents',
+ '-R', '--dependents', action='store_true', dest='dependents',
help='also uninstall any packages that depend on the ones given '
'via command line')