def version_message(prog):
    """Program version message.

    Args:
        prog (State): program state.

    Returns:
        str: the message to print.
    """
    return '{} {}\n{}'.format(prog.name, prog.version, prog.copyright)
