diff options
-rw-r--r-- | lib/spack/spack/cmd/load.py | 5 | ||||
-rw-r--r-- | lib/spack/spack/cmd/use.py | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/spack/spack/cmd/load.py b/lib/spack/spack/cmd/load.py index 246d6fe5e2..115c50dc98 100644 --- a/lib/spack/spack/cmd/load.py +++ b/lib/spack/spack/cmd/load.py @@ -23,7 +23,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ############################################################################## import argparse -from spack.cmd.common import print_module_placeholder_help +from spack.cmd.common import print_module_placeholder_help, arguments description = "add package to environment using `module load`" section = "environment" @@ -36,7 +36,8 @@ def setup_parser(subparser): subparser.add_argument( 'spec', nargs=argparse.REMAINDER, help="spec of package to load with modules " - "(if -, read specs from STDIN)") + ) + arguments.add_common_arguments(subparser, ['recurse_dependencies']) def load(parser, args): diff --git a/lib/spack/spack/cmd/use.py b/lib/spack/spack/cmd/use.py index da4a23586c..11dc11b7b9 100644 --- a/lib/spack/spack/cmd/use.py +++ b/lib/spack/spack/cmd/use.py @@ -23,7 +23,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ############################################################################## import argparse -from spack.cmd.common import print_module_placeholder_help +from spack.cmd.common import print_module_placeholder_help, arguments description = "add package to environment using dotkit" section = "environment" @@ -36,6 +36,7 @@ def setup_parser(subparser): subparser.add_argument( 'spec', nargs=argparse.REMAINDER, help='spec of package to use with dotkit') + arguments.add_common_arguments(subparser, ['recurse_dependencies']) def use(parser, args): |