Commit 9814e6a376df853a88deb889d68f178c803ad8ca

Christian Weisgerber 2020-09-27T14:55:18

prefer the BSD extension to reset getopt over the GNU one Sadly there is no portable way to reset getopt(3). BSD: optind = 1; optreset = 1; GNU: optind = 0; ok stsp