On Sun 09 Oct 2011 19:01, David Bremner <[email protected]> writes: > On Thu, 06 Oct 2011 21:20:40 -0300, David Bremner <[email protected]> wrote: >> >> I'd like to add a search term argument to notmuch dump (see >> id:"[email protected]" and followup for context). The >> "notmuch" way would be to have >> >> notmuch dump <search-term> >> >> do the right thing > > 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.
In this case there would be 2 transitional syntaxes. IMHO 'notmuch dump <search-terms>' causes least transitional pain. > the question of whether to support > > notmuch dump --file foo.txt > > or something like > > notmuch --stdout=foo.txt dump who about notmuch [--output-file=<file>] <command> ... > could be dealt with later. > > David Tomi _______________________________________________ notmuch mailing list [email protected] http://notmuchmail.org/mailman/listinfo/notmuch
