normalize_switch(arg)
Check if the given argument is actually a shortcut.
# File lib/bundler/vendor/thor/lib/thor/parser/options.rb, line 172 def normalize_switch(arg) (@shorts[arg] || arg).tr("_", "-") end