Vladislav Folts 11 years ago
parent
commit
b0d6bbe1eb
1 changed files with 4 additions and 0 deletions
  1. 4 0
      build.py

+ 4 - 0
build.py

@@ -125,5 +125,9 @@ if __name__ == '__main__':
     parser.add_option('--no-git', help='do not pull from git', action="store_true")
     parser.add_option('--pack', help='pack compiled source', action="store_true")
     (options, args) = parser.parse_args()
+    if len(args) != 1:
+        parser.print_help();
+        exit(-1)
+        
     options.output = args[0]
     build(options)