Page MenuHomeFreeBSD

[showmount] implement long options

Authored by eadler on Nov 25 2019, 8:35 AM.



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

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

eadler created this revision.Nov 25 2019, 8:35 AM
eadler edited reviewers, added: kevans, rmacklem; removed: manpages.Nov 25 2019, 8:36 AM
kevans added inline comments.Nov 25 2019, 1:01 PM
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.