docs/165009: indent(1) man page fix

Jeremy Huddleston jeremyhu at apple.com
Sun Feb 12 01:10:12 UTC 2012


>Number:         165009
>Category:       docs
>Synopsis:       indent(1) man page fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 12 01:10:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jeremy Huddleston
>Release:        trunk
>Organization:
Apple Inc
>Environment:
NA
>Description:
-bacc is not described in FreeBSD's indent(1) man page, but it is supported by the tool.  This report contains a patch to indent.1 from Apple's indent.1 which was in turn from NetBSD's indent.1
>How-To-Repeat:

>Fix:
Index: indent.1
===================================================================
--- indent.1	(revision 75832)
+++ indent.1	(revision 75833)
@@ -43,6 +43,7 @@
 .Sh SYNOPSIS
 .Nm
 .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
@@ -125,6 +126,15 @@
 The options listed below control the formatting style imposed by
 .Nm .
 .Bl -tag -width Op
+.It Fl bacc , nbacc
+If
+.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.
+Default:
+.Fl nbacc  .
 .It Fl bad , nbad
 If
 .Fl bad


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list