summaryrefslogtreecommitdiffstats
path: root/wtf/wtf.6
diff options
context:
space:
mode:
authorjmmv <jmmv@NetBSD.org>2003-04-25 19:08:31 +0000
committerjmmv <jmmv@NetBSD.org>2003-04-25 19:08:31 +0000
commit2780a632a7e2f3095f982adc3e7ba7f7a65490e5 (patch)
tree87137350b1691f595287a84061eb7c76aa8eef33 /wtf/wtf.6
parentd24d9f34316870446a7e6d0990536f2b361b4064 (diff)
downloadbsdgames-darwin-2780a632a7e2f3095f982adc3e7ba7f7a65490e5.tar.gz
bsdgames-darwin-2780a632a7e2f3095f982adc3e7ba7f7a65490e5.tar.zst
bsdgames-darwin-2780a632a7e2f3095f982adc3e7ba7f7a65490e5.zip
Implement a -t option, to easily select an acronyms list from /usr/share/misc.
One can do `wtf -t comp pci' and it will use /usr/share/misc/acronyms.comp to search the acronym as usual.
Diffstat (limited to 'wtf/wtf.6')
-rw-r--r--wtf/wtf.612
1 files changed, 10 insertions, 2 deletions
diff --git a/wtf/wtf.6 b/wtf/wtf.6
index 329aaa88..4e222dd5 100644
--- a/wtf/wtf.6
+++ b/wtf/wtf.6
@@ -1,8 +1,8 @@
-.\" $NetBSD: wtf.6,v 1.7 2003/04/11 11:13:34 jmmv Exp $
+.\" $NetBSD: wtf.6,v 1.8 2003/04/25 19:08:31 jmmv Exp $
.\"
.\" Public Domain
.\"
-.Dd April 11, 2003
+.Dd April 25, 2003
.Dt WTF 6
.Os
.Sh NAME
@@ -11,6 +11,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl f Ar dbfile
+.Op Fl t Ar type
.Op Ar is
.Ar acronym Ar ...
.Sh DESCRIPTION
@@ -37,6 +38,13 @@ The following options are available:
Overrides the default acronym database, bypassing the value of the
.Ev ACRONYMDB
variable.
+.It Fl t Ar type
+Specifies the acronym's type.
+Simply put, it makes the program use the acronyms database named
+.Pa /usr/share/misc/acronyms.type ,
+where
+.Ar type
+is given by the argument.
.El
.Sh ENVIRONMENT
.Bl -tag -width ACRONYMDB