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

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

Date: Sat, 11 Mar 2017 10:42:37 -0400

To: Jani Nikula, notmuch@notmuchmail.org

Cc:

From: David Bremner


Jani Nikula <jani@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

Thread: