Use getopts instead of getopt
Use getopts instead of getopt

The getopt that is provided in OS X is incompatible with version on
Linux.  Use builtin getopts instead. Fix for FAB-13009

Change-Id: I336d935665efb8270caa430705a6dff967e5a365
Signed-off-by: Tim Johnson <c924ec8e9bd900abfa7cd606c1679befe515cdef@linuxfoundation.org>

xixuejia/fabric,jimthematrix/fabric,hyperledger/fabric,manish-sethi/fabric,manish-sethi/fabric-sidedb,xixuejia/fabric,manish-sethi/fabric,manish-sethi/fabric-sidedb,muralisrini/fabric,xixuejia/fabric,binhn/fabric,binhn/fabric,stemlending/fabric,hyperledger/fabric,stemlending/fabric,manish-sethi/fabric-sidedb,binhn/fabric,manish-sethi/fabric-sidedb,manish-sethi/fabric-sidedb,muralisrini/fabric,manish-sethi/fabric-sidedb,jimthematrix/fabric,stemlending/fabric,manish-sethi/fabric-sidedb,muralisrini/fabric,stemlending/fabric