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)
Sat, Nov 2, 2:52 AM
Unknown Object (File)
Wed, Oct 30, 3:58 PM
Unknown Object (File)
Sun, Oct 20, 7:15 PM
Unknown Object (File)
Tue, Oct 15, 9:25 AM
Unknown Object (File)
Oct 3 2024, 10:48 AM
Unknown Object (File)
Oct 1 2024, 4:04 PM
Unknown Object (File)
Sep 28 2024, 4:27 AM
Unknown Object (File)
Sep 28 2024, 12:31 AM

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.