On Sun, 09 Oct 2011 13:01:53 -0300, David Bremner wrote: > Another option occured to me that is consistent at least with notmuch > tag and notmuch show would be to support the following transitional > syntaxes > > notmuch dump file > notmuch dump file [--] search terms > notmuch dump -- search terms > > the first two could then be deprecated, and eventually the syntax > > notmuch dump search terms > > could be enabled. Hey, David. I think this is a fine approach, Go with the transitional "--" separator for one release or so, with a deprecation warning, and then move to the standard form in the release after that. > the question of whether to support > > notmuch dump --file foo.txt > > or something like > > notmuch --stdout=foo.txt dump > > could be dealt with later. I realize the later probably requires more work, since we would have to replace all print calls with a new function, but I think it's the cleaner and more elegant solution. There's no reason to have an output redirection option for "dump"s and not for any of the other commands. jamie.