Page MenuHomeFreeBSD

[showmount] implement long options
Needs ReviewPublic

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

Details

Reviewers
kevans
rmacklem
Summary

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

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 27772
Build 25961: arc lint + arc unit

Event Timeline

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