From owner-freebsd-doc@FreeBSD.ORG Sun Feb 12 01:10:12 2012 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C24081065673 for ; Sun, 12 Feb 2012 01:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 80F2D8FC0C for ; Sun, 12 Feb 2012 01:10:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1C1AClt013045 for ; Sun, 12 Feb 2012 01:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1C1AC0u013042; Sun, 12 Feb 2012 01:10:12 GMT (envelope-from gnats) Resent-Date: Sun, 12 Feb 2012 01:10:12 GMT Resent-Message-Id: <201202120110.q1C1AC0u013042@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jeremy Huddleston Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 963A11065670 for ; Sun, 12 Feb 2012 01:09:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 7C50E8FC14 for ; Sun, 12 Feb 2012 01:09:10 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q1C19AEP075711 for ; Sun, 12 Feb 2012 01:09:10 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q1C19A20075710; Sun, 12 Feb 2012 01:09:10 GMT (envelope-from nobody) Message-Id: <201202120109.q1C19A20075710@red.freebsd.org> Date: Sun, 12 Feb 2012 01:09:10 GMT From: Jeremy Huddleston To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/165009: indent(1) man page fix X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2012 01:10:12 -0000 >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: