bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

doc: typo and -npls option underdocumented


From: Petr Pisar
Subject: doc: typo and -npls option underdocumented
Date: Tue, 20 Jul 2010 10:02:19 +0200
User-agent: Mutt/1.5.20 (2009-12-10)

Hello,

There are some falws in info/manual page in 2.2.11 release:

    - The short version for --cuddle-else should be `-nce', not a `-dce'
    - The --remove-preprocessor-space/-nlps is missing in index lists and on
      other places.

Followin patch fixes it.

-- Petr


diff -Bburpd indent-2.2.9-orig/doc/indent.texinfo 
indent-2.2.9/doc/indent.texinfo
--- indent-2.2.9-orig/doc/indent.texinfo        2006-07-16 07:25:25.000000000 
-0400
+++ indent-2.2.9/doc/indent.texinfo     2006-07-16 07:57:33.000000000 -0400
@@ -754,7 +754,7 @@ if (x > 0)
 
 @kindex -ce
 @kindex --cuddle-else
address@hidden -dce
address@hidden -nce
 @kindex --dont-cuddle-else
 If you are using the @option{-br} option, you probably want to also use
 the @option{-ce} option.  This causes the @code{else} in an if-then-else
@@ -1666,6 +1666,11 @@ Line up continued lines at parentheses.@
 Leave space between @samp{#} and preprocessor address@hidden
 @xref{Indentation}.
 
address@hidden -nlps
address@hidden --remove-preprocessor-space
+Remove space between @samp{#} and preprocessor address@hidden
address@hidden
+
 @item -nbad
 @itemx --no-blank-lines-after-declarations
 Do not force blank lines after address@hidden
@@ -1979,6 +1989,7 @@ the corresponding short option.
 \line{ --preprocessor-indentation \leaderfill      address@hidden }
 \line{ --preserve-mtime \leaderfill                -pmt\ }
 \line{ --procnames-start-lines \leaderfill         -psl\ }  
+\line{ --remove-preprocessor-space \leaderfill     -nlps\ }
 \line{ --space-after-cast \leaderfill              -cs\ \ } 
 \line{ --space-after-for \leaderfill               -saf\ }
 \line{ --space-after-if \leaderfill                -sai\ }
@@ -2063,6 +2075,7 @@ the corresponding short option.
 --preserve-mtime                               -pmt
 --preprocessor-indentation                      address@hidden
 --procnames-start-lines                         -psl            
+--remove-preprocessor-space                     -nlps
 --space-after-cast                              -cs             
 --space-after-for                              -saf
 --space-after-if                               -sai

Attachment: pgpkhIjrU4jHU.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]