From owner-svn-src-head@freebsd.org Sun Jun 3 20:49:00 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA76FFD36A0; Sun, 3 Jun 2018 20:48:59 +0000 (UTC) (envelope-from pstef@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 989917B73D; Sun, 3 Jun 2018 20:48:59 +0000 (UTC) (envelope-from pstef@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5CEA423A83; Sun, 3 Jun 2018 20:48:59 +0000 (UTC) (envelope-from pstef@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w53Kmxm4015156; Sun, 3 Jun 2018 20:48:59 GMT (envelope-from pstef@FreeBSD.org) Received: (from pstef@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w53KmxdH015155; Sun, 3 Jun 2018 20:48:59 GMT (envelope-from pstef@FreeBSD.org) Message-Id: <201806032048.w53KmxdH015155@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pstef set sender to pstef@FreeBSD.org using -f From: Piotr Pawel Stefaniak Date: Sun, 3 Jun 2018 20:48:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334587 - head/usr.bin/indent X-SVN-Group: head X-SVN-Commit-Author: pstef X-SVN-Commit-Paths: head/usr.bin/indent X-SVN-Commit-Revision: 334587 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2018 20:49:00 -0000 Author: pstef Date: Sun Jun 3 20:48:58 2018 New Revision: 334587 URL: https://svnweb.freebsd.org/changeset/base/334587 Log: indent(1): manual page corretions Add missing options, synchronize syntax summary with the actual option list, and other fixes. Submitted by: Tom Lane Modified: head/usr.bin/indent/indent.1 Modified: head/usr.bin/indent/indent.1 ============================================================================== --- head/usr.bin/indent/indent.1 Sun Jun 3 19:46:44 2018 (r334586) +++ head/usr.bin/indent/indent.1 Sun Jun 3 20:48:58 2018 (r334587) @@ -43,14 +43,9 @@ .Op Fl bad | Fl nbad .Op Fl badp | Fl nbadp .Op Fl bap | Fl nbap -.Bk -words -.Op Fl ei | Fl ei -.Op Fl eei | Fl eei .Op Fl bbb | Fl nbbb -.Ek .Op Fl \&bc | Fl nbc -.Op Fl \&bl -.Op Fl \&br +.Op Fl \&bl | Fl \&br .Op Fl bs | Fl nbs .Op Fl c Ns Ar n .Op Fl \&cd Ns Ar n @@ -62,7 +57,12 @@ .Op Fl cli Ns Ar n .Op Fl d Ns Ar n .Op Fl \&di Ns Ar n +.Op Fl dj | Fl ndj .Bk -words +.Op Fl ei | Fl nei +.Op Fl eei | Fl neei +.Ek +.Bk -words .Op Fl fbs | Fl nfbs .Op Fl fc1 | Fl nfc1 .Op Fl fcb | Fl nfcb @@ -84,6 +84,7 @@ .Ek .Op Fl \&st .Op Fl \&ta +.Op Fl T Ns Ar typename .Op Fl ts Ns Ar n .Op Fl U Ns Ar file .Op Fl ut | Fl nut @@ -177,10 +178,10 @@ is specified, then a newline is forced after each comm turns off this option. Default: .Fl \&nbc . -.It Fl \&br , \&bl +.It Fl \&bl , \&br Specifying .Fl \&bl -lines-up compound statements like this: +lines up compound statements like this: .Bd -literal -offset indent if (...) { @@ -265,7 +266,7 @@ means that such comments are placed one indentation le left of code. Specifying the default .Fl \&d\&0 -lines-up these comments with the code. +lines up these comments with the code. See the section on comment indentation below. .It Fl \&di Ns Ar n @@ -332,7 +333,7 @@ Block comments are then handled like box comments. The default is .Fl fcb . .It Fl i Ns Ar n -The number of spaces for one indentation level. +The number of columns for one indentation level. The default is 8. .It Fl \&ip , nip Enables (disables) the indentation of parameter declarations from the left @@ -353,7 +354,7 @@ relative to the beginning of their type declaration. The default is for local variable names to be indented by the same amount as global ones. .It Fl \&lp , nlp -Lines-up code surrounded by parenthesis in continuation lines. +Lines up code surrounded by parentheses in continuation lines. If a line has a left paren which is not closed on that line, then continuation lines will be lined up to start at the character position just after the left