diff --git a/osc/commandline.py b/osc/commandline.py index e9147d2e..62707931 100755 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -339,10 +339,15 @@ usage: osc co Apache # entire project elif package: checkout_package(project, package) - else: + elif project: # all packages for package in meta_get_packagelist(project): checkout_package(project, package) + else: + print 'missing argument' + print + print checkout.func_doc + sys.exit(1) def status(args):