src/main.c (usage): Clarify short forms of optional arguments. - enscript - GNU Enscript
 (HTM) git clone git://thinkerwim.org/enscript.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 839c8648c2d1cefb77dba8a88857db7e8dc78e59
 (DIR) parent 49891375b70c8745cf5dcd81b9bca6dff5e5816a
 (HTM) Author: Tim Retout <diocles@gnu.org>
       Date:   Sun, 10 Jul 2011 02:12:45 +0100
       
       src/main.c (usage): Clarify short forms of optional arguments.
       
       Signed-off-by: Tim Retout <diocles@gnu.org>
       
       Diffstat:
         M ChangeLog                           |       5 +++++
         M src/main.c                          |      10 +++++-----
       
       2 files changed, 10 insertions(+), 5 deletions(-)
       ---
 (DIR) diff --git a/ChangeLog b/ChangeLog
       @@ -1,3 +1,8 @@
       +2011-07-10  Tim Retout  <diocles@gnu.org>
       +
       +        * src/main.c (usage): Clarify documentation for short forms of
       +        optional arguments.
       +
        2011-07-09  Tim Retout  <diocles@gnu.org>
        
                * src/main.c (handle_options): Add missing 'w' from
 (DIR) diff --git a/src/main.c b/src/main.c
       @@ -2519,16 +2519,16 @@ Mandatory arguments to long options are mandatory for short options too.\n\
          -b, --header=HEADER        set page header\n\
          -B, --no-header            no page headers\n\
          -c, --truncate-lines       cut long lines (default is to wrap)\n\
       -  -C, --line-numbers[=START]\n\
       +  -C[START], --line-numbers[=START]\n\
                                     precede each line with its line number\n\
          -d                         an alias for option --printer\n\
          -D, --setpagedevice=KEY[:VALUE]\n\
                                     pass a page device definition to output\n\
       -  -e, --escapes[=CHAR]       enable special escape interpretation\n"),
       +  -e[CHAR], --escapes[=CHAR]       enable special escape interpretation\n"),
                  program);
        
          printf (_("\
       -  -E, --highlight[=LANG]     highlight source code\n"));
       +  -E[LANG], --highlight[=LANG]     highlight source code\n"));
        
          printf (_("\
          -f, --font=NAME            use font NAME for body text\n\
       @@ -2537,7 +2537,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
          -G                         same as --fancy-header\n\
              --fancy-header[=NAME]  select fancy page header\n\
          -h, --no-job-header        suppress the job header page\n\
       -  -H, --highlight-bars=NUM   specify how high highlight bars are\n\
       +  -H[NUM], --highlight-bars[=NUM]  specify how high highlight bars are\n\
          -i, --indent=NUM           set line indent to NUM characters\n\
          -I, --filter=CMD           read input files through input filter CMD\n\
          -j, --borders              print borders around columns\n\
       @@ -2571,7 +2571,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
          -t, --title=TITLE          set banner page's job title to TITLE.  Option\n\
                                     sets also the name of the input file stdin.\n\
          -T, --tabsize=NUM          set tabulator size to NUM\n\
       -  -u, --underlay[=TEXT]      print TEXT under every page\n\
       +  -u[TEXT], --underlay[=TEXT]      print TEXT under every page\n\
          -U, --nup=NUM              print NUM logical pages on each output page\n\
          -v, --verbose              tell what we are doing\n\
          -V, --version              print version number\n\