Vladislav Folts 11 年之前
父節點
當前提交
b0d6bbe1eb
共有 1 個文件被更改,包括 4 次插入0 次删除
  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)