From: Carl Worth Date: Tue, 22 Apr 2014 20:48:23 +0000 (-0700) Subject: Add support for a --query option (along with a default configuration) X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=396869cf393e7777cc640049572c7873a42b3f71;hp=396869cf393e7777cc640049572c7873a42b3f71;p=obsolete%2Fnotmuch-to-html Add support for a --query option (along with a default configuration) Since I don't like programs that require configuration, here we make this script self-configuring. When run with no options, it will print an example usage for a simple query: notmuch-to-html --query=tag:inbox Then, if run with that query, it will use a very simple, built-in configuration to run the query. Finally, it will also print out, (to stderr, to avoid breaking redirection), a sample configuration file so that the user can customize the output. ---