def format_warning(topline,details):
    """Format warning text clearly

    Parameters
    ----------
    topline : str
        One-line description of warning

    details : str
        Multiline, detailed description of warning (e.g. exception info)


    Returns
    -------
    str
        Multiline warning message, formatted
    """
    border = "-"*75 + "\n"
    out = border
    out += ("[argdoc] %s\n" % topline)
    out += details
    out += border
    return out