git: 15d683c334f9 - stable/13 - route.8: Don't reference an external command in EXAMPLES
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Mar 2023 06:30:39 UTC
The branch stable/13 has been updated by gbe:
URL: https://cgit.FreeBSD.org/src/commit/?id=15d683c334f9434f7d3253ca4189f8e70f4fbf9a
commit 15d683c334f9434f7d3253ca4189f8e70f4fbf9a
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2023-03-14 13:55:28 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-03-17 06:30:26 +0000
route.8: Don't reference an external command in EXAMPLES
It is better to mention the externel command for showing
the routing table as using an explicit command.
PR: 231579
Suggested by: karels
Reviewed by: karles, gbe
Differential Revision: https://reviews.freebsd.org/D39075
(cherry picked from commit 21f268182838f072f96234c727778d5603a580e3)
---
sbin/route/route.8 | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/sbin/route/route.8 b/sbin/route/route.8
index 5b6e13281447..afcf55ab44c7 100644
--- a/sbin/route/route.8
+++ b/sbin/route/route.8
@@ -28,7 +28,7 @@
.\" @(#)route.8 8.3 (Berkeley) 3/19/94
.\" $FreeBSD$
.\"
-.Dd February 26, 2023
+.Dd March 14, 2023
.Dt ROUTE 8
.Os
.Sh NAME
@@ -488,9 +488,8 @@ Remove all routes from the routing table:
.Pp
.Dl route flush
.Pp
-List all routing tables:
-.Pp
-.Dl netstat -r
+The routing table can be listed with
+.Xr netstat 1 .
.Sh DIAGNOSTICS
.Bl -diag
.It "add [host \&| network ] %s: gateway %s flags %x"