Fix SPACK-67: 'spack help stage' was broken.
- remove spurious mutually exclusive group from subparser.
This commit is contained in:
parent
8e87b2176a
commit
25af6478c5
@ -36,7 +36,6 @@ def setup_parser(subparser):
|
|||||||
'-n', '--no-checksum', action='store_true', dest='no_checksum',
|
'-n', '--no-checksum', action='store_true', dest='no_checksum',
|
||||||
help="Do not check downloaded packages against checksum")
|
help="Do not check downloaded packages against checksum")
|
||||||
|
|
||||||
dir_parser = subparser.add_mutually_exclusive_group()
|
|
||||||
subparser.add_argument(
|
subparser.add_argument(
|
||||||
'specs', nargs=argparse.REMAINDER, help="specs of packages to stage")
|
'specs', nargs=argparse.REMAINDER, help="specs of packages to stage")
|
||||||
|
|
||||||
@ -52,4 +51,3 @@ def stage(parser, args):
|
|||||||
for spec in specs:
|
for spec in specs:
|
||||||
package = spack.db.get(spec)
|
package = spack.db.get(spec)
|
||||||
package.do_stage()
|
package.do_stage()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user