On uninstall, change shortcut flag for --dependents to -R, as per Spack convention. (-r = --dependencies, -R = --dependents). (#1917)

This commit is contained in:
Elizabeth Fischer 2017-02-17 15:08:17 -05:00 committed by Todd Gamblin
parent 7180613218
commit 29d070e50c

View File

@ -61,7 +61,7 @@ def setup_parser(subparser):
"is both useful and dangerous, like rm -r") "is both useful and dangerous, like rm -r")
subparser.add_argument( 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 ' help='also uninstall any packages that depend on the ones given '
'via command line') 'via command line')