From b39165b999b8e90754e07601526d472fc7c74e61 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Thu, 21 Feb 2013 19:10:28 -0800 Subject: [PATCH] Fix regression in clean. --- lib/spack/spack/cmd/clean.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/cmd/clean.py b/lib/spack/spack/cmd/clean.py index 921ac2d4bd..09922887ca 100644 --- a/lib/spack/spack/cmd/clean.py +++ b/lib/spack/spack/cmd/clean.py @@ -3,7 +3,7 @@ import spack.stage as stage 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', help="run make clean in the stage directory (default)") subparser.add_argument('-w', "--work", action="store_true", dest='work',