[ostree] ostbuild: Allow specifying no components to mean "all"



commit cddd58fbd8771458c63fe64f01b21e0f35da39aa
Author: Colin Walters <walters verbum org>
Date:   Sun Jan 8 14:20:52 2012 -0500

    ostbuild: Allow specifying no components to mean "all"

 src/ostbuild/pyostbuild/builtin_build.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostbuild/pyostbuild/builtin_build.py b/src/ostbuild/pyostbuild/builtin_build.py
index 23f5dd1..3ac05c9 100755
--- a/src/ostbuild/pyostbuild/builtin_build.py
+++ b/src/ostbuild/pyostbuild/builtin_build.py
@@ -256,7 +256,7 @@ class OstbuildBuild(builtins.Builtin):
         parser.add_argument('--start-at')
         parser.add_argument('--shell-on-failure', action='store_true')
         parser.add_argument('--debug-shell', action='store_true')
-        parser.add_argument('components', nargs='+')
+        parser.add_argument('components', nargs='*')
 
         args = parser.parse_args(argv)
         



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]