summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2003-11-06 15:12:44 +0000
committerDamien Doligez <damien.doligez-inria.fr>2003-11-06 15:12:44 +0000
commit14abe89d551331df27aa20359b10b8eef317ab15 (patch)
treeb5b1960a81be5e4458937a3fe3d89a112d10a1d5
parentc9b09851c5d296005adb9278812b45a077cc53d0 (diff)
downloadocaml-14abe89d551331df27aa20359b10b8eef317ab15.tar.gz
PR#1888
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5894 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r--lex/main.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lex/main.ml b/lex/main.ml
index 99f3cbd29a..d97820151f 100644
--- a/lex/main.ml
+++ b/lex/main.ml
@@ -26,7 +26,7 @@ let usage = "usage: ocamlex [options] sourcefile"
let specs =
["-ml", Arg.Set ml_automata,
" Output code that does not use the Lexing module built-in automata interpreter";
- "-o", Arg.String (fun x -> source_name := Some x),
+ "-o", Arg.String (fun x -> output_name := Some x),
" <file> Set output file name to <file>";
"-q", Arg.Set Common.quiet_mode, " Do not display informational messages";
]