def print_remote_info(parsed_args, remotes):
    """
    Prints the collection of remotes to the console.
    If the "--verbose" argument is provided then the URL will be displayed too.

    :param parsed_args: arguments parsed from the user (may contain verbose arg)
    :type parsed_args: <class 'argparse.Namespace'>
    :param remotes: collection of remotes
    :type remotes: dictionary (key = remote name, value = URL)
    """
    verbose = parsed_args.verbose
    if remotes:
        for key, value in remotes.items():
            if key:
                if verbose:
                    print(key + ': ' + value)
                else:
                    print(key)
    else:
        print('info: no remote found')
