English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
request for a change in module Arg
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-01-16 (01:49)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: request for a change in module Arg
Hi everyone,

I find irritating that when there is an error in "ocamlc" or "ocamlopt"
command options, the whole help usage of 74 lines is displayed. The real
error is even not visible, you have to use the scroll bar to find it.

IMHO, a single message of one line would be sufficient, invitating
e.g. to use the option "-help".

Would it be possible that:

 - a special option be added in module Arg to display just a short
   message in case of error?

 - this option be used in priority to "ocamlc" and "ocamlopt" ?

That would be great. Thanks.

Daniel de Rauglaudre