def line_nr(ana, entry):
    """
    Return the line number of the start of a command.

    ATTENTION: This is not the row of the command. If you want that
        use rowcol!
    ana -- The analysis, which contains the entry
    entry -- The command entry to get the line number for
    """
    rowcol = ana.rowcol(entry.file_name)
    return rowcol(entry.region.begin())[0] + 1