diff options
-rw-r--r-- | lib/spack/spack/cmd/common/arguments.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/spack/spack/cmd/common/arguments.py b/lib/spack/spack/cmd/common/arguments.py index b527c7f138..6fc3b5d3cf 100644 --- a/lib/spack/spack/cmd/common/arguments.py +++ b/lib/spack/spack/cmd/common/arguments.py @@ -79,8 +79,10 @@ _arguments['constraint'] = Args( help='constraint to select a subset of installed packages') _arguments['module_type'] = Args( - '-m', '--module-type', help='type of module files', - default='tcl', choices=spack.modules.module_types) + '-m', '--module-type', + choices=spack.modules.module_types.keys(), + default=spack.modules.module_types.keys()[0], + help='type of module files [default: %(default)s]') _arguments['yes_to_all'] = Args( '-y', '--yes-to-all', action='store_true', dest='yes_to_all', |