optstr = ' '.join(opt for opt in action.option_strings for action in actions)