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)
Sat, Mar 8, 6:01 PM
Unknown Object (File)
Thu, Mar 6, 5:38 PM
Unknown Object (File)
Tue, Mar 4, 6:11 AM
Unknown Object (File)
Tue, Mar 4, 4:53 AM
Unknown Object (File)
Wed, Feb 26, 2:11 AM
Unknown Object (File)
Tue, Feb 25, 11:59 PM
Unknown Object (File)
Tue, Feb 25, 10:07 PM
Unknown Object (File)
Feb 4 2025, 1:54 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 Not Applicable
Unit
Tests Not Applicable

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
490–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
492

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

sbin/route/route.8
492

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
492

Sorry, I misread it.