浏览代码

print <dot-path> on default usage help

Simon Krajewski 11 年之前
父节点
当前提交
669b6ed2a7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      main.ml

+ 1 - 0
main.ml

@@ -1367,6 +1367,7 @@ try
 			("--help", Arg.Unit (fun () -> ()),": show extended help information");
 			("--help-defines", Arg.Unit (fun () -> ()),": print help for all compiler specific defines");
 			("--help-metas", Arg.Unit (fun () -> ()),": print help for all compiler metadatas");
+			("<dot-path>", Arg.Unit (fun () -> ()),": compile the module specified by dot-path");
 		] in
 		if !cmds = [] && not !did_something then Arg.usage help_spec usage;
 	end else begin