Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/indent Remove double space before [., :] in macro arg...
details: https://anonhg.NetBSD.org/src/rev/fab6faf73289
branches: trunk
changeset: 343749:fab6faf73289
user: ginsbach <ginsbach%NetBSD.org@localhost>
date: Wed Feb 24 17:38:15 2016 +0000
description:
Remove double space before [.,:] in macro arguments.
diffstat:
usr.bin/indent/indent.1 | 58 ++++++++++++++++++++++++------------------------
1 files changed, 29 insertions(+), 29 deletions(-)
diffs (228 lines):
diff -r c0c7ee76d583 -r fab6faf73289 usr.bin/indent/indent.1
--- a/usr.bin/indent/indent.1 Wed Feb 24 17:20:01 2016 +0000
+++ b/usr.bin/indent/indent.1 Wed Feb 24 17:38:15 2016 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: indent.1,v 1.24 2016/02/24 17:13:48 ginsbach Exp $
+.\" $NetBSD: indent.1,v 1.25 2016/02/24 17:38:15 ginsbach Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -115,9 +115,9 @@
The switches which can be specified are described below.
They may appear before or after the file names.
.Pp
-.Sy NOTE :
+.Sy NOTE :
If you only specify an
-.Ar input-file ,
+.Ar input-file ,
the formatting is
done `in-place', that is, the formatted file is written back into
.Ar input-file
@@ -136,7 +136,7 @@
is specified,
.Nm
checks to make sure it is different from
-.Ar input-file .
+.Ar input-file .
.Pp
If no
.Ar input-file
@@ -144,7 +144,7 @@
input is read from stdin and the formatted file is written to stdout.
.Pp
The options listed below control the formatting style imposed by
-.Nm .
+.Nm .
.Bl -tag -width Op
.It Fl bacc , nbacc
If
@@ -154,26 +154,26 @@
For example, in front of every #ifdef and after every #endif.
Other blank lines surrounding such blocks will be swallowed.
Default:
-.Fl nbacc .
+.Fl nbacc .
.It Fl bad , nbad
If
.Fl bad
is specified, a blank line is forced after every block of
declarations.
Default:
-.Fl nbad .
+.Fl nbad .
.It Fl bap , nbap
If
.Fl bap
is specified, a blank line is forced after every procedure body.
Default:
-.Fl nbap .
+.Fl nbap .
.It Fl bbb , nbbb
If
.Fl bbb
is specified, a blank line is forced before every block comment.
Default:
-.Fl nbbb .
+.Fl nbbb .
.It Fl \&bc , nbc
If
.Fl \&bc
@@ -181,7 +181,7 @@
.Fl nbc
turns off this option.
Default:
-.Fl \&bc .
+.Fl \&bc .
.It Fl \&br , \&bl
Specifying
.Fl \&bl
@@ -207,11 +207,11 @@
is specified, a blank is forced after
.Ic sizeof .
Default:
-.Fl nbs .
+.Fl nbs .
.It Fl c Ns Ar n
The column in which comments on code start.
Default:
-.Fl c33 .
+.Fl c33 .
.It Fl cd Ns Ar n
The column in which comments on declarations start.
The default
@@ -233,15 +233,15 @@
This only affects block comments, not comments to the right of
code.
Default:
-.Fl cdb .
+.Fl cdb .
.It Fl ce , nce
Enables (disables) forcing `else's to cuddle up to the immediately preceding
`}'.
Default:
-.Fl \&ce .
+.Fl \&ce .
.It Fl \&ci Ns Ar n
Sets the continuation indent to be
-.Ar n .
+.Ar n .
Continuation
lines will be indented that far from the beginning of the first line of the
statement.
@@ -251,7 +251,7 @@
is in effect.
.Fl \&ci
defaults to the same value as
-.Fl i .
+.Fl i .
.It Fl cli Ns Ar n
Causes case labels to be indented
.Ar n
@@ -261,7 +261,7 @@
.Fl cli0.5
causes case labels to be indented half a tab stop.
Default:
-.Fl cli0 .
+.Fl cli0 .
.It Fl d Ns Ar n
Controls the placement of comments which are not to the right of code.
For example,
@@ -276,14 +276,14 @@
Specifies the indentation, in character positions, from a declaration keyword
to the following identifier.
Default:
-.Fl di16 .
+.Fl di16 .
.It Fl dj , ndj
.Fl \&dj
left justifies declarations.
.Fl ndj
indents declarations the same as code.
Default:
-.Fl ndj .
+.Fl ndj .
.It Fl \&ei , nei
Enables (disables) special
.Ic else-if
@@ -296,7 +296,7 @@
.Ic \&if
statement.
Default:
-.Fl ei .
+.Fl ei .
.It Fl eei , neei
Enables (disables) extra indentation on continuation lines of
the expression part of
@@ -306,7 +306,7 @@
statements.
These continuation lines will be indented one extra level.
Default:
-.Fl neei .
+.Fl neei .
.It Fl fc1 , nfc1
Enables (disables) the formatting of comments that start in column 1.
Often, comments whose leading `/' is in column 1 have been carefully
@@ -315,7 +315,7 @@
.Fl nfc1
should be used.
Default:
-.Fl fc1 .
+.Fl fc1 .
.It Fl i Ns Ar n
The number of spaces for one indentation level.
Default:
@@ -324,11 +324,11 @@
Enables (disables) the indentation of parameter declarations from the left
margin.
Default:
-.Fl \&ip .
+.Fl \&ip .
.It Fl l Ns Ar n
Maximum length of an output line.
Default:
-.Fl l78 .
+.Fl l78 .
.It Fl \&lp , nlp
Lines up code surrounded by parenthesis in continuation lines.
If a line has a left parenthesis which is not closed on that line, then
@@ -369,26 +369,26 @@
all procedure calls will have a space inserted between
the name and the `('.
Default:
-.Fl npcs .
+.Fl npcs .
.It Fl psl , npsl
If true
.Pq Fl psl
the names of procedures being defined are placed in
column 1 \- their types, if any, will be left on the previous lines.
Default:
-.Fl psl .
+.Fl psl .
.It Fl \&sc , nsc
Enables (disables) the placement of asterisks (`*'s) at the left edge of all
comments.
Default:
-.Fl sc .
+.Fl sc .
.It Fl sob , nsob
If
.Fl sob
is specified, indent will swallow optional blank lines.
You can use this to get rid of blank lines after declarations.
Default:
-.Fl nsob .
+.Fl nsob .
.It Fl \&st
Causes
.Nm
@@ -440,7 +440,7 @@
reports when it splits one line of input into two or more lines of output,
and gives some size statistics at completion.
Default:
-.Fl \&nv .
+.Fl \&nv .
.El
.Pp
You may set up your own `profile' of defaults to
Home |
Main Index |
Thread Index |
Old Index