Commit Graph

29 Commits (3a9e049fca111dfc830fbe1741fb92d6cccf137a)

Author SHA1 Message Date
Damien Doligez ed53ef381a bug findlib/Stolpmann
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5735 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-24 18:23:54 +00:00
Damien Doligez 12690ec2d8 bug de currification
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5648 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-03 13:17:09 +00:00
Damien Doligez 901936498a changement de parse_argv en cas d'erreur
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5604 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-19 18:13:31 +00:00
Damien Doligez 0b2e6f5f7c PR#1709
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5591 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-12 11:13:40 +00:00
Damien Doligez 313d77d1cb PR#1532
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5578 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-23 14:34:23 +00:00
Pierre Weis 1d52692ccf Adding new arguments types: boolean with spec Bool for function taking
a boolean as argument, and tuples with spec Tuple of spec list for
functions that takes more than one argument in turn on the command
line. For instance Arg.(Tuple [Arg.Int f; Arg.Bool b; Arg.Int g])
specifies an option that will take 3 elements on the command line and
will call f, b, and g in turn with converted values of the
corresponding types.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5505 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-25 10:19:35 +00:00
Damien Doligez 8a20bd757d completude de la doc, typo sur anon_fun
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5434 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-12 16:36:28 +00:00
Pierre Weis 6cdad3430c adding some semantics on the string type for specs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5316 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-08 15:17:30 +00:00
Damien Doligez faff950d11 petit glitch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5229 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-02 21:47:02 +00:00
Damien Doligez d4bd2173aa PR#1200
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5228 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-02 21:24:30 +00:00
Pierre Weis ae91006786 Documentation + parse_argv introduction.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4557 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-23 16:30:01 +00:00
Pierre Weis e40ea8f198 Generalization of Arg.parse into Arg.parse_array: we now can parse an
arbitrary string array built during program execution.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4556 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-22 20:46:06 +00:00
Pierre Weis f187b04ee0 Parsing of float arguments was not properly handled in case of invalid
argument.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4550 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-21 10:45:20 +00:00
Xavier Leroy 7501784c80 MAJ en-tetes pour mentionner la 'special exception' sur la LGPL
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-07 13:41:02 +00:00
Damien Doligez dcbb92b2d0 typo
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3646 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-21 18:49:22 +00:00
Damien Doligez f5759d294a arg: ajout --help; random: meilleur init
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3644 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-21 15:10:51 +00:00
Damien Doligez dcc3b0ce03 gc.ml, gc.mli: compteurs flottants
arg.ml: affichage option -help


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3399 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-02-05 14:59:24 +00:00
Pierre Weis 2116da4220 Getting rid of obsolete boolean operators & and or
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3359 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-12-28 13:07:42 +00:00
Damien Doligez b870e236eb pas de code d'erreur si option -help
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2626 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-29 19:04:07 +00:00
Xavier Leroy cc0f32b054 Changement de la licence
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00
Damien Doligez 1f39b97ded Ajout Arg.Rest.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1906 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-04-06 16:33:34 +00:00
Damien Doligez c44e6f999a arg.ml, arg.mli, string.mli: amelioration de la doc
array.mli, array.ml, random.ml: create -> make (coherence avec String)
sys.ml, sys.mli: ajout max_string_length, max_array_length


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1706 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-09-11 15:10:23 +00:00
Damien Doligez cc9c01f613 Exporter la position de l'argument courant
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1635 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-07-03 14:15:35 +00:00
Damien Doligez 901222ceae Ajout de [Arg.usage].
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1091 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-10-24 15:19:22 +00:00
Damien Doligez c602b30b57 Changement du module Arg.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1090 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-10-24 14:17:48 +00:00
Xavier Leroy 2301d778e7 Renommage en Objective Caml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@782 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-30 14:53:58 +00:00
Xavier Leroy 4832a208b5 Introduction de Arg.Set et Arg.Clear.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@249 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-09-05 12:30:26 +00:00
Xavier Leroy e4066357b1 Ajout des notices de copyright
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@195 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-08-09 15:06:35 +00:00
Xavier Leroy 61bd8ace6b Passage a la version bootstrappee (franchissement du Rubicon)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-05-04 10:15:53 +00:00