1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 01:46:13 +01:00

print usage info if 'co' is called without arguments

This commit is contained in:
Dr. Peter Poeml 2006-10-18 22:30:53 +00:00
parent a94364d95b
commit cf852ae5db

View File

@ -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):