<div dir="ltr"><div>GNU getopt allows abbreviated options, but it really SHOULD blow up when an argument short-matches a name twice; instead it just merrily takes the first one. It seems to be designed to allow a developer to brain fart and insert the exact same argument twice without error, and this patch will still allow that, but it WILL prevent something like --nr that matches both --nr-intra and --nr-inter from just silently using the first match. For some reason, no one ever thought to compare the actual argument names.</div><div><br></div><div>This doesn't patch the -W path. No one cares about POSIX -W.<br></div></div>