Fix regression in clean.
This commit is contained in:
parent
2a908d6a0e
commit
b39165b999
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
import spack.stage as stage
|
import spack.stage as stage
|
||||||
|
|
||||||
def setup_parser(subparser):
|
def setup_parser(subparser):
|
||||||
subparser.add_argument('names', nargs='?', help="name(s) of package(s) to clean")
|
subparser.add_argument('names', nargs='+', help="name(s) of package(s) to clean")
|
||||||
subparser.add_argument('-c', "--clean", action="store_true", dest='clean',
|
subparser.add_argument('-c', "--clean", action="store_true", dest='clean',
|
||||||
help="run make clean in the stage directory (default)")
|
help="run make clean in the stage directory (default)")
|
||||||
subparser.add_argument('-w', "--work", action="store_true", dest='work',
|
subparser.add_argument('-w', "--work", action="store_true", dest='work',
|
||||||
|
|
Loading…
Reference in a new issue