genapidocs: replace short options with long ones