Added --dependencies to the help text of spack load

fixes #6321
This commit is contained in:
Massimiliano Culpo 2018-07-10 11:09:19 +02:00 committed by Todd Gamblin
parent 443d702971
commit 576f0c98d2
2 changed files with 5 additions and 3 deletions

View File

@ -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):

View File

@ -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):