The following commit has been merged in the master branch:
commit e4b433010fd297f19fb02e6deca06a3ee0dac3a1
Author: Sylvain Le Gall <gil...@debian.org>
Date:   Mon Mar 25 01:25:43 2013 +0100

    Improve display of --help.

diff --git a/src/Copyright.ml b/src/Copyright.ml
index b22aa05..b5a8c41 100644
--- a/src/Copyright.ml
+++ b/src/Copyright.ml
@@ -27,7 +27,7 @@ open Common
 let copyrights = 
   Conf.create 
     ~cli:"--copyrights"
-    "Copyright holds of the package"
+    "str Copyright holders of the package."
     Conf.ShortInput
 
 let todo ~ctxt msg = 
diff --git a/src/GenPkg.ml b/src/GenPkg.ml
index 5ea6871..91964bb 100644
--- a/src/GenPkg.ml
+++ b/src/GenPkg.ml
@@ -28,7 +28,7 @@ open Common
 let library_name = 
   Conf.create 
     ~cli:"--library-name"
-    "Short name of the library (XXX in libXXX-ocaml-dev)"
+    "pkg_name Short name of the library (XXX in libXXX-ocaml-dev)."
     (Conf.Fun
        (fun () ->
           failwith "Not set"))
@@ -36,7 +36,7 @@ let library_name =
 let executable_name = 
   Conf.create 
     ~cli:"--executable-name"
-    "Full name of the package that contains executables"
+    "pkg_name Full name of the package that contains executables."
     (Conf.Fun
        (fun () ->
           failwith "Not set"))
diff --git a/src/Load.ml b/src/Load.ml
index b547d47..851c704 100644
--- a/src/Load.ml
+++ b/src/Load.ml
@@ -31,19 +31,19 @@ open FileUtil
 let description = 
   Conf.create 
     ~cli:"--description"
-    "Long description of the package"
+    "str Long description of the package"
     Conf.LongInput
 
 let homepage =
   Conf.create 
     ~cli:"--homepage"
-    "Homepage of the package"
+    "url Homepage of the package"
     Conf.ShortInput
 
 let uploader =
   Conf.create 
     ~cli:"--uploader"
-    "Uploader of the package"
+    "email Uploader of the package"
     (Conf.Fun
        (fun () ->
           try 
@@ -59,7 +59,7 @@ let uploader =
 let deb_name =
   Conf.create 
     ~cli:"--debian-name"
-    "Source package name in Debian (e.g. extunix becomes ocaml-extunix)"
+    "str Source package name in Debian (e.g. extunix becomes ocaml-extunix)"
     Conf.ShortInput
 
 

-- 
oasis2debian project

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to