]> git.notmuchmail.org Git - notmuch/commitdiff
cli: Be more helpful when .notmuch-config does not exist
authorAustin Clements <amdragon@mit.edu>
Wed, 3 Sep 2014 15:28:34 +0000 (11:28 -0400)
committerDavid Bremner <david@tethera.net>
Sun, 7 Sep 2014 18:01:01 +0000 (20:01 +0200)
Previously, if the user ran any subcommand that required a
configuration (e.g., notmuch new) but didn't have a configuration,
notmuch would give the rather un-friendly and un-actionable message

  Error reading configuration file .notmuch-config: No such file or directory

Since this condition is expected for new users, this patch adds
specific handling for the file-not-found case to give a message that
is friendly and actionable.


No differences found