summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ctags/ctags.120
-rw-r--r--usr.bin/ctags/ctags.c6
2 files changed, 13 insertions, 13 deletions
diff --git a/usr.bin/ctags/ctags.1 b/usr.bin/ctags/ctags.1
index 6396c469b55..07fd91fd73d 100644
--- a/usr.bin/ctags/ctags.1
+++ b/usr.bin/ctags/ctags.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ctags.1,v 1.13 2003/06/10 09:12:10 jmc Exp $
+.\" $OpenBSD: ctags.1,v 1.14 2007/03/15 22:41:17 jmc Exp $
.\" $NetBSD: ctags.1,v 1.4 1995/03/26 20:14:04 glass Exp $
.\"
.\" Copyright (c) 1987, 1990, 1993
@@ -38,9 +38,9 @@
.Nd create a tags file
.Sh SYNOPSIS
.Nm ctags
-.Op Fl BFadtuwvx
+.Op Fl aBdFtuvwx
.Op Fl f Ar tagsfile
-.Ar name ...
+.Ar
.Sh DESCRIPTION
.Nm
makes a tags file for
@@ -66,23 +66,23 @@ enums, and unions.
.Pp
The options are as follows:
.Bl -tag -width Ds
-.It Fl B
-Use backward searching patterns
-.Pq Li ?...? .
-.It Fl F
-Use forward searching patterns
-.Pq Li /.../
-(the default).
.It Fl a
Append to
.Ar tags
file.
+.It Fl B
+Use backward searching patterns
+.Pq Li ?...? .
.It Fl d
Create tags for
.Li #defines
that don't take arguments;
.Li #defines
that take arguments are tagged automatically.
+.It Fl F
+Use forward searching patterns
+.Pq Li /.../
+(the default).
.It Fl f Ar tagsfile
Places the tag descriptions in a file called
.Ar tagsfile .
diff --git a/usr.bin/ctags/ctags.c b/usr.bin/ctags/ctags.c
index c586cbff2dd..41f11775b5c 100644
--- a/usr.bin/ctags/ctags.c
+++ b/usr.bin/ctags/ctags.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ctags.c,v 1.10 2003/06/10 22:20:45 deraadt Exp $ */
+/* $OpenBSD: ctags.c,v 1.11 2007/03/15 22:41:17 jmc Exp $ */
/* $NetBSD: ctags.c,v 1.4 1995/09/02 05:57:23 jtc Exp $ */
/*
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)ctags.c 8.4 (Berkeley) 2/7/95";
#endif
-static char rcsid[] = "$OpenBSD: ctags.c,v 1.10 2003/06/10 22:20:45 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ctags.c,v 1.11 2007/03/15 22:41:17 jmc Exp $";
#endif /* not lint */
#include <err.h>
@@ -131,7 +131,7 @@ main(int argc, char *argv[])
argc -= optind;
if (!argc) {
usage: (void)fprintf(stderr,
- "usage: ctags [-BFadtuwvx] [-f tagsfile] file ...\n");
+ "usage: ctags [-aBdFtuvwx] [-f tagsfile] file ...\n");
exit(1);
}