Page MenuHomeFreeBSD

[showmount] implement long options
ClosedPublic

Authored by eadler on Nov 25 2019, 8:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 29, 1:42 PM
Unknown Object (File)
Jan 15 2024, 4:28 PM
Unknown Object (File)
Jan 12 2024, 7:36 PM
Unknown Object (File)
Dec 20 2023, 7:04 AM
Unknown Object (File)
Dec 16 2023, 3:27 AM
Unknown Object (File)
Dec 11 2023, 8:58 PM
Unknown Object (File)
Dec 4 2023, 6:48 PM
Unknown Object (File)
Nov 27 2023, 4:12 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 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.