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.
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.

jmarini/cascading-options