59 строки
2.1 KiB
Diff
59 строки
2.1 KiB
Diff
From 98a85f736394e4410235a402289009d22a13d333 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
|
Date: Thu, 13 Sep 2018 14:24:15 +0200
|
|
Subject: [PATCH] doc: Fix --dont-cuddle-else short option and index
|
|
--remove-preprocessor-space
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
|
---
|
|
doc/indent.texi | 9 ++++++++-
|
|
1 file changed, 8 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/doc/indent.texi b/doc/indent.texi
|
|
index a4b076b..4caa797 100644
|
|
--- a/doc/indent.texi
|
|
+++ b/doc/indent.texi
|
|
@@ -792,7 +792,7 @@ if (x > 0)
|
|
|
|
@kindex -ce
|
|
@kindex --cuddle-else
|
|
-@kindex -dce
|
|
+@kindex -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
|
|
@@ -2046,6 +2046,11 @@ Line up continued lines at parentheses.@*
|
|
Leave space between @samp{#} and preprocessor directive.@*
|
|
@xref{Indentation}.
|
|
|
|
+@item -nlps
|
|
+@itemx --remove-preprocessor-space
|
|
+Remove space between @samp{#} and preprocessor directive.@*
|
|
+@xref{Indentation}.
|
|
+
|
|
@item -nbad
|
|
@itemx --no-blank-lines-after-declarations
|
|
Do not force blank lines after declarations.@*
|
|
@@ -2412,6 +2417,7 @@ the corresponding short option.
|
|
\line{ --preprocessor-indentation \leaderfill -ppi@var{n}\ }
|
|
\line{ --preserve-mtime \leaderfill -pmt\ }
|
|
\line{ --procnames-start-lines \leaderfill -psl\ }
|
|
+\line{ --remove-preprocessor-space \leaderfill -nlps\ }
|
|
\line{ --single-line-conditionals \leaderfill -slc\ }
|
|
\line{ --space-after-cast \leaderfill -cs\ \ }
|
|
\line{ --space-after-for \leaderfill -saf\ }
|
|
@@ -2507,6 +2513,7 @@ the corresponding short option.
|
|
--preserve-mtime -pmt
|
|
--preprocessor-indentation -ppi@var{n}
|
|
--procnames-start-lines -psl
|
|
+--remove-preprocessor-space -nlps
|
|
--single-line-conditionals -slc
|
|
--space-after-cast -cs
|
|
--space-after-for -saf
|
|
--
|
|
2.17.1
|
|
|