More helpful error message if no project is specified.

main
Einar Ryeng 2011-03-28 21:40:15 +00:00
parent 6be624e872
commit e21cd7b323
1 changed files with 1 additions and 0 deletions

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