From 742cd7f1270e0fe6229a965b768c1613e653eb3b Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Sun, 17 Sep 2017 15:06:15 -0700 Subject: Remove redundant dest arguments in install.py --- lib/spack/spack/cmd/install.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/spack/spack/cmd/install.py b/lib/spack/spack/cmd/install.py index ee752222db..f9d60c8f32 100644 --- a/lib/spack/spack/cmd/install.py +++ b/lib/spack/spack/cmd/install.py @@ -60,28 +60,28 @@ the dependencies""" '-j', '--jobs', action='store', type=int, help="explicitly set number of make jobs. default is #cpus") subparser.add_argument( - '--keep-prefix', action='store_true', dest='keep_prefix', + '--keep-prefix', action='store_true', help="don't remove the install prefix if installation fails") subparser.add_argument( - '--keep-stage', action='store_true', dest='keep_stage', + '--keep-stage', action='store_true', help="don't remove the build stage if installation succeeds") subparser.add_argument( - '--restage', action='store_true', dest='restage', + '--restage', action='store_true', help="if a partial install is detected, delete prior state") subparser.add_argument( '--source', action='store_true', dest='install_source', help="install source files in prefix") subparser.add_argument( - '-n', '--no-checksum', action='store_true', dest='no_checksum', + '-n', '--no-checksum', action='store_true', help="do not check packages against checksum") subparser.add_argument( - '-v', '--verbose', action='store_true', dest='verbose', + '-v', '--verbose', action='store_true', help="display verbose build output while installing") subparser.add_argument( - '--fake', action='store_true', dest='fake', + '--fake', action='store_true', help="fake install. just remove prefix and create a fake file") subparser.add_argument( - '-f', '--file', action='store_true', dest='file', + '-f', '--file', action='store_true', help="install from file. Read specs to install from .yaml files") cd_group = subparser.add_mutually_exclusive_group() @@ -93,7 +93,7 @@ the dependencies""" help="spec of the package to install" ) subparser.add_argument( - '--run-tests', action='store_true', dest='run_tests', + '--run-tests', action='store_true', help="run package level tests during installation" ) subparser.add_argument( -- cgit v1.2.3-70-g09d2