Page MenuHomeFreeBSD

[showmount] implement long options
ClosedPublic

Authored by eadler on Nov 25 2019, 8:35 AM.
Tags
None
Referenced Files
F84126847: D22543.id64846.diff
Sun, May 19, 6:10 PM
F84125440: D22543.id64879.diff
Sun, May 19, 5:44 PM
Unknown Object (File)
Sat, May 18, 8:48 PM
Unknown Object (File)
Thu, May 16, 9:25 AM
Unknown Object (File)
Mon, May 6, 7:40 AM
Unknown Object (File)
Mon, May 6, 5:41 AM
Unknown Object (File)
Sat, Apr 20, 4:32 PM
Unknown Object (File)
Apr 18 2024, 11:48 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 27755
Build 25952: 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.