summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/route/route.85
-rw-r--r--sbin/route/route.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/sbin/route/route.8 b/sbin/route/route.8
index c985a03dc73..cb1541760f6 100644
--- a/sbin/route/route.8
+++ b/sbin/route/route.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: route.8,v 1.45 2006/10/16 08:44:56 mcbride Exp $
+.\" $OpenBSD: route.8,v 1.46 2006/11/28 16:48:13 henning Exp $
.\" $NetBSD: route.8,v 1.6 1995/03/18 15:00:13 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -83,6 +83,9 @@ may require correct operation of the network; thus it may be expedient
to forgo this, especially when attempting to repair networking operations.)
.It Fl q
Suppress all output.
+.It Fl T Ar tableid
+Select an alternate routing table to work against.
+Table 0 is the default table.
.It Fl t
Write routing messages to a fake device
.Pa ( /dev/null )
diff --git a/sbin/route/route.c b/sbin/route/route.c
index 6afc1080f34..52de6ed65be 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.102 2006/11/17 01:11:23 itojun Exp $ */
+/* $OpenBSD: route.c,v 1.103 2006/11/28 16:48:13 henning Exp $ */
/* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */
/*
@@ -117,7 +117,7 @@ usage(char *cp)
if (cp)
warnx("botched keyword: %s", cp);
fprintf(stderr,
- "usage: %s [-dnqtv] command [[modifiers] args]\n",
+ "usage: %s [-dnqtv] [ -T tableid ] command [[modifiers] args]\n",
__progname);
fprintf(stderr,
"commands: add, change, delete, flush, get, monitor, show\n");