More helpful error message if no project is specified.

This commit is contained in:
Einar Ryeng 2011-03-28 21:40:15 +00:00
parent 6be624e872
commit e21cd7b323

View File

@ -84,6 +84,7 @@ def parse_options():
options, params = cp.parse(op)
if len(params) != 1:
print "error: project directory must be specified."
print "notice: to create a new project use -n /path/to/project"
sys.exit(1)
return options, params