Properly detect argument name to use even if the short option comes
first. Uses the first long name listed and the first short name listed
if there are no long names.