More helpful error message if no project is specified.
This commit is contained in:
parent
6be624e872
commit
e21cd7b323
@ -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
|
||||
|
Reference in New Issue
Block a user