Simon Josefsson wrote:
> +2012-02-13  Simon Josefsson  <si...@josefsson.org>
> +
> +     * gnulib-tool (Usage): Document --help and --version.

The idea is good. But unlike the options --verbose and --quiet, the
--help and --version options are not meant to be combined with other
options. Therefore they define "operation modes" of their own, like
--list or --find.


2012-02-19  Bruno Haible  <br...@clisp.org>

        gnulib-tool: Improve usage message.
        * gnulib-tool (func_usage): Move doc of --help and --version to the
        section "Operation modes".

--- gnulib-tool.orig    Sun Feb 19 14:32:03 2012
+++ gnulib-tool Sun Feb 19 14:31:48 2012
@@ -190,6 +190,8 @@
       --extract-maintainer         report the maintainer(s) inside gnulib
       --extract-tests-module       report the unit test module, if it exists
       --copy-file                  copy a file that is not part of any module
+      --help                Show this help text.
+      --version             Show version and authorship information.
 
 General options:
 
@@ -201,11 +203,8 @@
                             up files before looking in gnulib's directory.
       --cache-modules       Enable module caching optimization.
       --no-cache-modules    Disable module caching optimization.
-
       --verbose             Increase verbosity. May be repeated.
       --quiet               Decrease verbosity. May be repeated.
-      --help                Show this help text.
-      --version             Show version and authorship information.
 
 Options for --import, --add/remove-import, --update:
 


Reply via email to