summaryrefslogtreecommitdiffstats
path: root/usr.bin/indent
diff options
context:
space:
mode:
authorschweikh <schweikh@FreeBSD.org>2004-06-29 18:57:13 +0000
committerschweikh <schweikh@FreeBSD.org>2004-06-29 18:57:13 +0000
commit14512577b4ed94009a8c35a4608c782ac7c6b2af (patch)
treeb625e3b20ba0705e55076275c6592e50f3a35b6e /usr.bin/indent
parent9dccb05c7368df1546e8536b40b07b539b07d6a1 (diff)
downloadFreeBSD-src-14512577b4ed94009a8c35a4608c782ac7c6b2af.zip
FreeBSD-src-14512577b4ed94009a8c35a4608c782ac7c6b2af.tar.gz
Document recently acquired options.
PR: 67983 Submitted by: Chip Norkus <wd@teleri.net> MFC after: 2 weeks
Diffstat (limited to 'usr.bin/indent')
-rw-r--r--usr.bin/indent/indent.112
1 files changed, 12 insertions, 0 deletions
diff --git a/usr.bin/indent/indent.1 b/usr.bin/indent/indent.1
index e714e68..b4b6de5 100644
--- a/usr.bin/indent/indent.1
+++ b/usr.bin/indent/indent.1
@@ -62,6 +62,7 @@
.Op Fl d Ns Ar n
.Op Fl \&di Ns Ar n
.Bk -words
+.Op Fl fbs | Fl nfbs
.Op Fl fc1 | Fl nfc1
.Op Fl fcb | Fl nfcb
.Ek
@@ -80,6 +81,7 @@
.Ek
.Op Fl \&st
.Op Fl troff
+.Op Fl ut | Fl nut
.Op Fl v | Fl \&nv
.Sh DESCRIPTION
The
@@ -243,6 +245,11 @@ will have the same indentation as the preceding
.Ic \&if
statement. The default is
.Fl ei .
+.It Fl fbs , nfbs
+Enables (disables) splitting the function declaration and opening brace
+across two lines.
+The default is
+.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
@@ -366,6 +373,11 @@ listing in much the same spirit as
.Xr vgrind 1 .
If the output file is not specified, the default is standard output,
rather than formatting in place.
+.It Fl ut , nut
+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 .
.It Fl v , \&nv
.Fl v
turns on `verbose' mode;
OpenPOWER on IntegriCloud