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)
Thu, Nov 7, 6:23 AM
Unknown Object (File)
Thu, Oct 24, 2:55 AM
Unknown Object (File)
Wed, Oct 16, 7:55 PM
Unknown Object (File)
Oct 15 2024, 1:35 PM
Unknown Object (File)
Oct 14 2024, 1:22 PM
Unknown Object (File)
Oct 11 2024, 1:08 PM
Unknown Object (File)
Oct 7 2024, 5:14 PM
Unknown Object (File)
Oct 7 2024, 12:29 AM
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.