summaryrefslogtreecommitdiffstats
path: root/usr.bin/indent/indent.1
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2010-03-31 17:05:30 +0000
committeravg <avg@FreeBSD.org>2010-03-31 17:05:30 +0000
commit3bd875003c9cfb8544833da3029fc72d93c416b5 (patch)
tree6b289e0d6a757e91653bb35b31533c353c04b566 /usr.bin/indent/indent.1
parent53545c03a72ae4f39a3c7357ae972c7714553462 (diff)
downloadFreeBSD-src-3bd875003c9cfb8544833da3029fc72d93c416b5.zip
FreeBSD-src-3bd875003c9cfb8544833da3029fc72d93c416b5.tar.gz
indent(1): add a new option, -ta, to treat all *_t identifiers as types
Submitted by: Hans Petter Selasky Discussed with: bde MFC after: 10 days
Diffstat (limited to 'usr.bin/indent/indent.1')
-rw-r--r--usr.bin/indent/indent.14
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/indent/indent.1 b/usr.bin/indent/indent.1
index f04e13d..1a7c789 100644
--- a/usr.bin/indent/indent.1
+++ b/usr.bin/indent/indent.1
@@ -80,6 +80,7 @@
.Op Fl sob | Fl nsob
.Ek
.Op Fl \&st
+.Op Fl \&ta
.Op Fl troff
.Op Fl ut | Fl nut
.Op Fl v | Fl \&nv
@@ -377,6 +378,9 @@ Default:
Causes
.Nm
to take its input from stdin and put its output to stdout.
+.It Fl ta
+Automatically add all identifiers ending in "_t" to the list
+of type keywords.
.It Fl T Ns Ar typename
Adds
.Ar typename
OpenPOWER on IntegriCloud