diff options
author | kn <kn@cvs.openbsd.org> | 2018-07-13 09:06:59 +0000 |
---|---|---|
committer | kn <kn@cvs.openbsd.org> | 2018-07-13 09:06:59 +0000 |
commit | 8d468c589b450f9f654a98f5a02a896e5e134387 (patch) | |
tree | 391e6e19e5189e3fb4231398e8d1c81bbeb30915 /sbin/route | |
parent | 7040298c5b5f088d3157f36852b0d7baa528e41f (diff) |
Use "rtable" not "tableid" as argument name for rtable
Make rtable(4) usage documentation consistent with other programs.
This is to have `man -k ar~rtable' show the full list without having to
look for other variations of the same argument type.
OK bluhm
Diffstat (limited to 'sbin/route')
-rw-r--r-- | sbin/route/route.8 | 24 | ||||
-rw-r--r-- | sbin/route/route.c | 4 |
2 files changed, 14 insertions, 14 deletions
diff --git a/sbin/route/route.8 b/sbin/route/route.8 index bc011881b14..bd9a8f355af 100644 --- a/sbin/route/route.8 +++ b/sbin/route/route.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: route.8,v 1.86 2018/07/09 14:11:00 jca Exp $ +.\" $OpenBSD: route.8,v 1.87 2018/07/13 09:06:58 kn Exp $ .\" $NetBSD: route.8,v 1.6 1995/03/18 15:00:13 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)route.8 8.3 (Berkeley) 3/19/94 .\" -.Dd $Mdocdate: July 9 2018 $ +.Dd $Mdocdate: July 13 2018 $ .Dt ROUTE 8 .Os .Sh NAME @@ -39,7 +39,7 @@ .Sh SYNOPSIS .Nm route .Op Fl dnqtv -.Op Fl T Ar tableid +.Op Fl T Ar rtable .Ar command .Oo .Op Ar modifiers @@ -75,7 +75,7 @@ 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 +.It Fl T Ar rtable Select an alternate routing table to modify or query. The default is to use the current routing table. .It Fl t @@ -92,18 +92,18 @@ utility provides the following simple commands: .Bl -tag -width Fl .It Xo .Nm route -.Op Fl T Ar tableid +.Op Fl T Ar rtable .Cm exec .Op Ar command ... .Xc Execute a command forcing the process and its children to use the routing table and appropriate routing domain as specified with the -.Fl T Ar tableid +.Fl T Ar rtable option. .It Xo .Nm route .Op Fl nqv -.Op Fl T Ar tableid +.Op Fl T Ar rtable .Cm flush .Op Ar modifiers .Xc @@ -121,7 +121,7 @@ modifiers. .It Xo .Nm route .Op Fl nv -.Op Fl T Ar tableid +.Op Fl T Ar rtable .Cm get .Op Ar modifiers .Ar address @@ -151,7 +151,7 @@ are shown. .It Xo .Nm route .Op Fl nv -.Op Fl T Ar tableid +.Op Fl T Ar rtable .Cm show .Op Ar family .Op Fl gateway @@ -185,7 +185,7 @@ have the syntax: .It Xo .Nm route .Op Fl dnqtv -.Op Fl T Ar tableid +.Op Fl T Ar rtable .Cm add .Op Ar modifiers .Ar destination gateway @@ -193,7 +193,7 @@ have the syntax: .It Xo .Nm route .Op Fl dnqtv -.Op Fl T Ar tableid +.Op Fl T Ar rtable .Cm change .Op Ar modifiers .Ar destination gateway @@ -201,7 +201,7 @@ have the syntax: .It Xo .Nm route .Op Fl dnqtv -.Op Fl T Ar tableid +.Op Fl T Ar rtable .Cm del Ns Op Cm ete .Op Ar modifiers .Ar destination gateway diff --git a/sbin/route/route.c b/sbin/route/route.c index f98bdeae0a2..61de74380a9 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.219 2018/07/12 16:08:02 florian Exp $ */ +/* $OpenBSD: route.c,v 1.220 2018/07/13 09:06:58 kn Exp $ */ /* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */ /* @@ -130,7 +130,7 @@ usage(char *cp) if (cp) warnx("botched keyword: %s", cp); fprintf(stderr, - "usage: %s [-dnqtv] [-T tableid] command [[modifiers] args]\n", + "usage: %s [-dnqtv] [-T rtable] command [[modifiers] args]\n", __progname); fprintf(stderr, "commands: add, change, delete, exec, flush, get, monitor, show\n"); |