accept unknown options

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3969 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Jacques Garrigue 2001-11-01 08:45:25 +00:00
parent f1275a8793
commit 31cbd26c16
1 changed files with 4 additions and 4 deletions

View File

@ -107,7 +107,7 @@ let parse_arguments argv =
else if s = "-v" || s = "-verbose" then
verbose := true
else if starts_with s "-" then
raise (Bad_argument("Unknown option " ^ s))
prerr_endline ("Unknown option " ^ s)
else
raise (Bad_argument("Don't know what to do with " ^ s));
incr i
@ -138,7 +138,7 @@ Options are:
-R<dir> Same as -rpath
-verbose Print commands before executing them
-Wl,-rpath,<dir> Same as -dllpath <dir>
-Wl,-rpath -Wl<dir> Same as -dllpath <dir>
-Wl,-rpath -Wl,<dir> Same as -dllpath <dir>
-Wl,-R<dir> Same as -dllpath <dir>
"