From 6b7b9ed47ccda8ebc7266d766448bab6afabccae Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 3 Feb 2013 19:21:10 +0200 Subject: [PATCH] Better command line help. --- builder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/builder.py b/builder.py index 0d6b7e5cc..d25e72863 100755 --- a/builder.py +++ b/builder.py @@ -79,7 +79,8 @@ class BuilderApp(): if __name__ == '__main__': (options, args) = parser.parse_args(sys.argv) if len(args) == 1 or len(args) > 3: - print('Invalid number of arguments') + print('%s ' % sys.argv[0]) + print('If you omit either directory, the current directory is substituted.') sys.exit(1) dir1 = args[1] if len(args) > 2: