Page MenuHomeFreeBSD

Add man page description for version and help
ClosedPublic

Authored by thj on May 26 2022, 1:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 8, 1:55 AM
Unknown Object (File)
Sun, Apr 7, 5:06 PM
Unknown Object (File)
Sun, Apr 7, 5:04 AM
Unknown Object (File)
Sat, Apr 6, 3:50 PM
Unknown Object (File)
Sat, Apr 6, 9:29 AM
Unknown Object (File)
Jan 25 2024, 5:00 PM
Unknown Object (File)
Jan 14 2024, 9:54 AM
Unknown Object (File)
Jan 11 2024, 4:56 PM

Diff Detail

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

Event Timeline

thj requested review of this revision.May 26 2022, 1:42 PM

Is it worth saying whether diff3 --help and diff3 --version output to stdout or stderr?

GNU diff3 has -v as a --version alias. Does the replacement want/have that? If so, should be added to the manual page.

usr.bin/diff3/diff3.1
40

You should be able to use .Nm only after the first time. This is in fact recommended. https://docs.freebsd.org/en/books/fdp-primer/manual-pages/#manual-pages-sample-structures.

48
This revision now requires changes to proceed.May 26 2022, 11:58 PM

Is it worth saying whether diff3 --help and diff3 --version output to stdout or stderr?

GNU diff3 has -v as a --version alias. Does the replacement want/have that? If so, should be added to the manual page.

I'm not adding short flags for these. They are requested so build systems can integrate and the long option isn't a cost there.

  • Don't user diff3 and Nm
  • bump date
This revision is now accepted and ready to land.May 30 2022, 7:55 PM
This revision was landed with ongoing or failed builds.Jun 23 2022, 12:39 PM
This revision was automatically updated to reflect the committed changes.