Page MenuHomeFreeBSD

[showmount] implement long options
ClosedPublic

Authored by eadler on Nov 25 2019, 8:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 19, 3:27 AM
Unknown Object (File)
Wed, Jun 18, 12:03 AM
Unknown Object (File)
Mon, Jun 16, 12:06 AM
Unknown Object (File)
Mon, Jun 2, 2:50 AM
Unknown Object (File)
Mon, Jun 2, 12:49 AM
Unknown Object (File)
May 7 2025, 6:28 AM
Unknown Object (File)
May 6 2025, 3:00 AM
Unknown Object (File)
May 5 2025, 7:49 AM
Subscribers

Details

Summary

add long options support to showmount. Where mappings exist use the GNU
names for said options.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 27772
Build 25961: arc lint + arc unit

Event Timeline

usr.bin/showmount/showmount.c
131

Generally when converting to long opts, we should use the '+' leading specifier to maintain preexisting behavior of getopt(3) of halting at the first non-option argument, unless it's really advantageous and we've documented the behavior change.

This revision was not accepted when it landed; it landed in state Needs Review.Dec 12 2019, 5:13 AM
This revision was automatically updated to reflect the committed changes.