[Paul Wise] Bug#825886: notmuch: allow separation of command-line options and their values: --option foo
Tomi Ollila
tomi.ollila at iki.fi
Tue May 31 06:40:46 PDT 2016
On Tue, May 31 2016, David Bremner <david at tethera.net> wrote:
> From: Paul Wise <pabs at debian.org>
> Subject: Bug#825886: notmuch: allow separation of command-line options and their values: --option foo
> To: Debian Bug Tracking System <submit at 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 at chianamo ~ $ notmuch dump --gzip --output ~/.../notmuch-tags.gz
> Option "output" needs a string argument.
> Unrecognized option: --output
> pabs at 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 at 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 at chianamo ~ $ ls -s --block-size M ~/.../notmuch-tags.gz
> XXXM /home/pabs/.../notmuch-tags.gz
> pabs at chianamo ~ $ ls -s --block-size=M ~/.../notmuch-tags.gz
> XXXM /home/pabs/.../notmuch-tags.gz
>
> -- System Information:
> Debian Release: stretch/sid
More information about the notmuch
mailing list