git: 61dad7633cd3 - releng/13.2 - route.8: Don't reference an external command in EXAMPLES
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Mar 2023 13:13:31 UTC
The branch releng/13.2 has been updated by gbe:
URL: https://cgit.FreeBSD.org/src/commit/?id=61dad7633cd3eeacd734cdb0338331b751bd6ab0
commit 61dad7633cd3eeacd734cdb0338331b751bd6ab0
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2023-03-14 13:55:28 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-03-16 13:13:03 +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
Approved by: re (cperciva)
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"