On Thu, 06 Oct 2011 21:53:57 -0300, David Bremner <bremner at unb.ca> wrote: > On Fri, 07 Oct 2011 04:37:56 +0400, Dmitry Kurochkin <dmitry.kurochkin at > gmail.com> wrote: > > On Thu, 06 Oct 2011 21:20:40 -0300, David Bremner <bremner at unb.ca> wrote: > > > IMHO 1[+2] is the way. It breaks the dump command interface, but would > > make it consistent with other commands. Implementing the second option > > (for all commands) is nice but independent and optional. Also, perhaps > > --output, --output-file or smth would a better name than --write. > > I'm not fussy about the name, except that --output is taken, and I > thought there might be some benefit of making options have unique > prefixes.
Is -o/--output taken before the subcommand? i.e. notmuch -o <dumpfile> dump <query> <terms> Or would that be to confusing? (-o is fairly standard for stdout redirection, so it would be nice to use that for notmuch, as well.) Tom