svn commit: r334587 - head/usr.bin/indent

Piotr Pawel Stefaniak pstef at FreeBSD.org
Sun Jun 3 20:49:00 UTC 2018


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


More information about the svn-src-head mailing list