Page MenuHomeFreeBSD

[showmount] implement long options
ClosedPublic

Authored by eadler on Nov 25 2019, 8:35 AM.
Tags
None
Referenced Files
F132405884: D22543.diff
Thu, Oct 16, 4:07 PM
F132378169: D22543.id64846.diff
Thu, Oct 16, 9:18 AM
Unknown Object (File)
Sun, Oct 12, 6:58 AM
Unknown Object (File)
Tue, Sep 23, 12:07 AM
Unknown Object (File)
Fri, Sep 19, 7:10 AM
Unknown Object (File)
Sep 15 2025, 8:08 PM
Unknown Object (File)
Sep 15 2025, 2:21 AM
Unknown Object (File)
Sep 13 2025, 4:42 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.