def fmt_cycles(cycles):
    """
    Format cycle information into a string.
    """
    out_data = []
    for entry in cycles:
        datav = entry[0] + '-' + str(entry[1])
        out_data.append(datav)
    return ','.join(out_data)