git: 21f268182838 - main - route.8: Don't reference an external command in EXAMPLES

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Tue, 14 Mar 2023 13:56:41 UTC
The branch main has been updated by gbe:

URL: https://cgit.FreeBSD.org/src/commit/?id=21f268182838f072f96234c727778d5603a580e3

commit 21f268182838f072f96234c727778d5603a580e3
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2023-03-14 13:55:28 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-03-14 13:55:28 +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
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D39075
---
 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"