Page MenuHomeFreeBSD

route.8: Don't reference an external command in EXAMPLES
ClosedPublic

Authored by gbe on Mar 14 2023, 4:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 10, 10:44 PM
Unknown Object (File)
Sat, Nov 29, 12:18 PM
Unknown Object (File)
Sat, Nov 22, 2:09 PM
Unknown Object (File)
Fri, Nov 21, 11:04 PM
Unknown Object (File)
Nov 5 2025, 4:51 AM
Unknown Object (File)
Nov 2 2025, 2:41 AM
Unknown Object (File)
Oct 27 2025, 5:36 PM
Unknown Object (File)
Oct 17 2025, 10:55 PM
Subscribers

Details

Summary

It is better to mention the externel command for showing
the routing table as using an explicit command.

PR: 231579
Suggested by: mkarels
MFC after: 1 day

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 50350
Build 47242: arc lint + arc unit

Event Timeline

gbe requested review of this revision.Mar 14 2023, 4:49 AM
This revision is now accepted and ready to land.Mar 14 2023, 4:50 AM
sbin/route/route.8
491

This line isn't really helpful, but doesn't hurt too much.

This revision now requires review to proceed.Mar 14 2023, 9:06 AM
gbe marked an inline comment as done.Mar 14 2023, 9:07 AM
This revision is now accepted and ready to land.Mar 14 2023, 12:43 PM
sbin/route/route.8
494

whoops, I just noticed that the -r was changed to 1. That is wrong.

sbin/route/route.8
494

I am not sure what you exactly here. .Xr is used for man page references so it would show

'with netstat(1)'

Would you like to use

'with netstat -r' in that case?

sbin/route/route.8
494

Sorry, I misread it.