summaryrefslogtreecommitdiffstats
path: root/usr.bin/indent
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-07-03 00:24:45 +0000
committerru <ru@FreeBSD.org>2004-07-03 00:24:45 +0000
commitee5b7e52fa7d4baa499ee27a6be5d6d650a644f0 (patch)
tree76412bcb6a02dd46cf8013e9d05c34972eee83cf /usr.bin/indent
parentd9e4eb9285216e2e83144e97e45c2bf123d17c9f (diff)
downloadFreeBSD-src-ee5b7e52fa7d4baa499ee27a6be5d6d650a644f0.zip
FreeBSD-src-ee5b7e52fa7d4baa499ee27a6be5d6d650a644f0.tar.gz
Deal with double whitespace.
Diffstat (limited to 'usr.bin/indent')
-rw-r--r--usr.bin/indent/indent.146
1 files changed, 23 insertions, 23 deletions
diff --git a/usr.bin/indent/indent.1 b/usr.bin/indent/indent.1
index cbbeb94..f6ecc62 100644
--- a/usr.bin/indent/indent.1
+++ b/usr.bin/indent/indent.1
@@ -99,9 +99,9 @@ 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
@@ -120,7 +120,7 @@ If
is specified,
.Nm
checks to make sure it is different from
-.Ar input-file .
+.Ar input-file .
.Pp
The options listed below control the formatting style imposed by
.Nm .
@@ -131,7 +131,7 @@ If
is specified, a blank line is forced after every block of
declarations.
Default:
-.Fl nbad .
+.Fl nbad .
.It Fl bap , nbap
If
.Fl bap
@@ -151,7 +151,7 @@ is specified, then a newline is forced after each comma in a declaration.
.Fl nbc
turns off this option.
Default:
-.Fl \&nbc .
+.Fl \&nbc .
.It Fl \&br , \&bl
Specifying
.Fl \&bl
@@ -197,15 +197,15 @@ Rather than like this:
This only affects block comments, not comments to the right of
code.
The default is
-.Fl cdb .
+.Fl cdb .
.It Fl ce , nce
Enables (disables) forcing of `else's to cuddle up to the immediately preceding
`}'.
The default is
-.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.
@@ -216,7 +216,7 @@ is in effect
or the contination indent is exactly half of the main indent.
.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
@@ -227,7 +227,7 @@ statement.
causes case labels to be indented half a tab stop.
The
default is
-.Fl cli0 .
+.Fl cli0 .
.It Fl d Ns Ar n
Controls the placement of comments which are not to the
right of code.
@@ -245,14 +245,14 @@ Specifies the indentation, in character positions,
of global variable names and all struct/union member names
relative to the beginning of their type declaration.
The default is
-.Fl di16 .
+.Fl di16 .
.It Fl dj , ndj
.Fl \&dj
left justifies declarations.
.Fl ndj
indents declarations the same as code.
The default is
-.Fl ndj .
+.Fl ndj .
.It Fl \&ei , nei
Enables (disables) special
.Ic else-if
@@ -265,12 +265,12 @@ will have the same indentation as the preceding
.Ic \&if
statement.
The default is
-.Fl ei .
+.Fl ei .
.It Fl fbs , nfbs
Enables (disables) splitting the function declaration and opening brace
across two lines.
The default is
-.Fl fbs .
+.Fl fbs .
.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
@@ -280,7 +280,7 @@ In such cases,
should be
used.
The default is
-.Fl fc1 .
+.Fl fc1 .
.It Fl fcb , nfcb
Enables (disables) the formatting of block comments (ones that begin
with `/*\\n').
@@ -292,7 +292,7 @@ In such cases,
should be used.
Block comments are then handled like box comments.
The default is
-.Fl fcb .
+.Fl fcb .
.It Fl i Ns Ar n
The number of spaces for one indentation level.
The default is 8.
@@ -300,7 +300,7 @@ The default is 8.
Enables (disables) the indentation of parameter declarations from the left
margin.
The default is
-.Fl \&ip .
+.Fl \&ip .
.It Fl l Ns Ar n
Maximum length of an output line.
The default is 78.
@@ -351,7 +351,7 @@ If true
all procedure calls will have a space inserted between
the name and the `('.
The default is
-.Fl npcs .
+.Fl npcs .
.It Fl psl , npsl
If true
.Pq Fl psl
@@ -359,12 +359,12 @@ the names of procedures being defined are placed in
column 1 \- their types, if any, will be left on the previous lines.
The
default is
-.Fl psl .
+.Fl psl .
.It Fl \&sc , nsc
Enables (disables) the placement of asterisks (`*'s) at the left edge of all
comments.
The default is
-.Fl sc .
+.Fl sc .
.It Fl sob , nsob
If
.Fl sob
@@ -372,7 +372,7 @@ 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
@@ -413,7 +413,7 @@ rather than formatting in place.
Enables (disables) the use of tab characters in the output.
Tabs are assumed to be aligned on columns divisble by 8.
The default is
-.Fl ut .
+.Fl ut .
.It Fl v , \&nv
.Fl v
turns on `verbose' mode;
@@ -424,7 +424,7 @@ When in verbose mode,
reports when it splits one line of input into two or more lines of output,
and gives some size statistics at completion.
The default is
-.Fl \&nv .
+.Fl \&nv .
.El
.Pp
You may set up your own `profile' of defaults to
OpenPOWER on IntegriCloud