replaces short options with long options where available