Fix various details of the option parsing.
Fix various details of the option parsing.

Setting OPTIND=1 allows reentrace to ts.  I don't have a good way illustrate,
but if you source ts twice, then the second time in you would carry forward the
old value of OPTIND.

Also update the parsing loop so that the option numbers are quoted.

ThomasAdam/ts,thinkerbot/ts