Page MenuHomeFreeBSD

[showmount] implement long options
ClosedPublic

Authored by eadler on Nov 25 2019, 8:35 AM.
Tags
None
Referenced Files
F146575190: D22543.diff
Tue, Mar 3, 6:57 PM
Unknown Object (File)
Sat, Feb 28, 5:17 PM
Unknown Object (File)
Sat, Feb 28, 11:39 AM
Unknown Object (File)
Mon, Feb 23, 2:15 PM
Unknown Object (File)
Sat, Feb 21, 1:47 PM
Unknown Object (File)
Jan 24 2026, 12:17 AM
Unknown Object (File)
Jan 22 2026, 11:06 PM
Unknown Object (File)
Jan 15 2026, 5:20 PM
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 Not Applicable
Unit
Tests Not Applicable

Event Timeline

usr.bin/showmount/showmount.c
131 ↗(On Diff #64846)

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.