Page MenuHomeFreeBSD

last(1): Add EXAMPLES section
ClosedPublic

Authored by fernape on Dec 10 2020, 3:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 30 2023, 6:21 PM
Unknown Object (File)
Dec 20 2023, 6:47 PM
Unknown Object (File)
Dec 20 2023, 6:49 AM
Unknown Object (File)
Nov 7 2023, 4:46 PM
Unknown Object (File)
Oct 31 2023, 12:52 PM
Unknown Object (File)
Sep 16 2023, 1:19 PM
Unknown Object (File)
Sep 7 2023, 1:22 AM
Unknown Object (File)
Sep 7 2023, 1:21 AM

Details

Summary

Add two simple examples showing the use of the flags: d, n, s, t

While here, reorder cross references properly by section

Test Plan
  • mandoc -Tlint clean
  • igor clean
  • aspell happy
  • man ./last.1 renders the page properly

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

gbe added inline comments.
usr.bin/last/last.1
211

pst/1 would be better since most users, who lock for examples, doesn't have 14 login sessions active.

Cook examples a little to make them more realistic for the final user (gbe@).

This revision is now accepted and ready to land.Jan 9 2021, 1:47 PM
This revision was automatically updated to reflect the committed changes.
In D27540#626957, @gbe wrote:

LGTM

Thanks for the review!