runtest: Show usage if first option starts '-'
commit0f291e4b7efb5ddeb86b24d81275c4d9f6e3fa14
authorOlly Betts <olly@survex.com>
Fri, 1 Jun 2018 03:06:36 +0000 (1 15:06 +1200)
committerOlly Betts <olly@survex.com>
Fri, 1 Jun 2018 03:06:36 +0000 (1 15:06 +1200)
treeb3f3e38c919d0ee28892704d2ef91e856419148a
parent23f8a37d4c255a48d2bb2d9a10fe149c7b017cd7
runtest: Show usage if first option starts '-'

Previously we ended up passing such options to libtool, so putting
-v on runtest instead of apitest like this would run the tests but -v
would effectively do nothing (it would make libtool verbose, but that
doesn't make any difference in this case):

./runtest -v ./apitest
xapian-core/tests/runtest.in