svn commit: r232792 - stable/7/usr.bin/indent

Eitan Adler eadler at
Sat Mar 10 18:37:01 UTC 2012

Author: eadler
Date: Sat Mar 10 18:37:01 2012
New Revision: 232792

  MFC r232471:
  	Document the [n]eei and [n]bacc options
  PR:		docs/165009
  Approved by:	bcr

Directory Properties:
  stable/7/usr.bin/indent/   (props changed)

Modified: stable/7/usr.bin/indent/indent.1
--- stable/7/usr.bin/indent/indent.1	Sat Mar 10 18:36:40 2012	(r232791)
+++ stable/7/usr.bin/indent/indent.1	Sat Mar 10 18:37:01 2012	(r232792)
@@ -34,7 +34,7 @@
 .\"	@(#)indent.1	8.1 (Berkeley) 7/1/93
 .\" $FreeBSD$
-.Dd June 29, 2004
+.Dd March 3, 2012
@@ -43,9 +43,12 @@
 .Op Ar input-file Op Ar output-file
+.Op Fl bacc | Fl nbacc
 .Op Fl bad | Fl nbad
 .Op Fl bap | Fl nbap
 .Bk -words
+.Op Fl ei | Fl ei
+.Op Fl eei | Fl eei
 .Op Fl bbb | Fl nbbb
 .Op Fl \&bc | Fl nbc
@@ -126,6 +129,15 @@ checks to make sure that it is different
 The options listed below control the formatting style imposed by
 .Nm .
 .Bl -tag -width Op
+.It Fl bacc , nbacc
+.Fl bacc
+is specified, a blank line is forced around every conditional
+compilation block.
+For example, in front of every #ifdef and after every #endif.
+Other blank lines surrounding such blocks will be swallowed.
+.Fl nbacc  .
 .It Fl bad , nbad
 .Fl bad
@@ -267,6 +279,16 @@ will have the same indentation as the pr
 The default is
 .Fl ei .
+.It Fl eei , neei
+Enables (disables) extra indentation on continuation lines of
+the expression part of
+.Ic if
+.Ic while
+These continuation lines will be indented one extra level.
+The default is
+.Fl neei .
 .It Fl fbs , nfbs
 Enables (disables) splitting the function declaration and opening brace
 across two lines.

More information about the svn-src-stable-7 mailing list