From e21cd7b32336a7c521bc1ffdb0104095744eb17c Mon Sep 17 00:00:00 2001 From: einarr Date: Mon, 28 Mar 2011 21:40:15 +0000 Subject: [PATCH] More helpful error message if no project is specified. --- bin/laydi | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/laydi b/bin/laydi index 04882b9..98ea043 100755 --- a/bin/laydi +++ b/bin/laydi @@ -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