Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 8 lines (7 sloc) 187 Bytes
# Test for a getopt that handles long options properly.
TEMP=$(getopt -o :h --long help,library: -n 'foo' -- "--help")
if [[ " --help --" == $TEMP ]] ; then
exit 0
else
exit 1
fi