Commits

frisch  committed 14bbbf1

Support -absname in ocamldep + update man pages.

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12819f963ae5c-01c2-4b8c-9fe0-0dff7051ff02

  • Participants
  • Parent commits 6181cde

Comments (0)

Files changed (6)

 
 Compilers:
 - PR#5634: parsetree rewriter (-ppx flag)
+- ocamldep now supports -absname
 
 Bug fixes:
 - PR#5327: (Windows) Unix.select blocks if same socket listed in first and

File driver/main_args.ml

 ;;
 
 let mk_absname f =
-  "-absname", Arg.Unit f, "  Show absolute filenames in error message"
+  "-absname", Arg.Unit f, "  Show absolute filenames in error messages"
 ;;
 
 let mk_annot f =

File man/ocamlc.m

 .B -noautolink
 option is given.
 .TP
+.B \-absname
+Show absolute filenames in error messages.
+.TP
 .B \-annot
 Dump detailed information about the compilation (types, bindings,
 tail-calls, etc).  The information for file

File man/ocamldep.m

 The following command-line options are recognized by
 .BR ocamldep (1).
 .TP
+.B \-absname
+Show absolute filenames in error messages.
+.TP
 .BI \-I \ directory
 Add the given directory to the list of directories searched for
 source files. If a source file foo.ml mentions an external

File man/ocamlopt.m

 .B \-noautolink
 option is given.
 .TP
+.B \-absname
+Show absolute filenames in error messages.
+.TP
 .B \-annot
 Dump detailed information about the compilation (types, bindings,
 tail-calls, etc).  The information for file

File tools/ocamldep.ml

   Clflags.classic := false;
   add_to_load_path Filename.current_dir_name;
   Arg.parse [
+     "-absname", Arg.Set Location.absname,
+        " Show absolute filenames in error messages";
      "-all", Arg.Set all_dependencies,
         " Generate dependencies on all files";
      "-I", Arg.String add_to_load_path,