[RFC 5/5] cli: print number of ignored non-mails encountered in notmuch new scan

David Bremner david at tethera.net
Sat Mar 11 06:42:37 PST 2017


Jani Nikula <jani at nikula.org> writes:
>  
> +    if (state->ignored_non_mails)
> +	printf (" Ignored %d non-mail %s. (Use 'notmuch config append new.ignore <pattern> [...]' to ignore explicitly.)",
> +		state->ignored_non_mails,
> +		state->ignored_non_mails == 1 ? "file" : "files");
> +
>      printf ("\n");
>  }

I guess this should be hushed in the case when the user passes --quiet


More information about the notmuch mailing list