def format_option(option, argument_required):
    """
    Return appropriate string for flags requiring arguments and flags that do not
    :param option: flag to format
    :param argument_required: whether argument is required
    """
    return option + '=' if argument_required else option + ' '