On Tue, May 31 2016, David Bremner <david@tethera.net> wrote: > From: Paul Wise <pabs@debian.org> > Subject: Bug#825886: notmuch: allow separation of command-line options and their values: --option foo > To: Debian Bug Tracking System <submit@bugs.debian.org> > Date: Tue, 31 May 2016 15:41:42 +0800 > > [ Unknown signature status ] > Package: notmuch > Version: 0.22-1 > Severity: wishlist > > It would be nice if notmuch would allow separation between command-line > options and their values so that I could run dump and not get an error. > > pabs@chianamo ~ $ notmuch dump --gzip --output ~/.../notmuch-tags.gz > Option "output" needs a string argument. > Unrecognized option: --output > pabs@chianamo ~ $ notmuch dump --gzip --output=~/.../notmuch-tags.gz > Bad output file ~/.../notmuch-tags.gz > > I don't want to have to manually type my home dir whenever I dump tags, > which I currently have to do since notmuch requires = as a separator. As a (temporary?) workaround you can use $HOME in command line. > > pabs@chianamo ~ $ notmuch dump --gzip --output=/home/pabs/.../notmuch-tags.gz > > Separation of long options and their values is a standard feature of > programs on Debian so it is surprising this doesn't work by default. > > pabs@chianamo ~ $ ls -s --block-size M ~/.../notmuch-tags.gz > XXXM /home/pabs/.../notmuch-tags.gz > pabs@chianamo ~ $ ls -s --block-size=M ~/.../notmuch-tags.gz > XXXM /home/pabs/.../notmuch-tags.gz > > -- System Information: > Debian Release: stretch/sid