From: Tomi Ollila <tomi.ollila@iki.fi>
To: <pabs@debian.org>, David Bremner <david@tethera.net>,
notmuch@notmuchmail.org
Subject: Re: [Paul Wise] Bug#825886: notmuch: allow separation of command-line options and their values: --option foo
Date: Tue, 31 May 2016 16:40:46 +0300 [thread overview]
Message-ID: <m2a8j62vmp.fsf@guru.guru-group.fi> (raw)
In-Reply-To: <87k2iah95n.fsf@zancas.localnet>
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
next prev parent reply other threads:[~2016-05-31 13:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-31 9:24 [Paul Wise] Bug#825886: notmuch: allow separation of command-line options and their values: --option foo David Bremner
2016-05-31 13:40 ` Tomi Ollila [this message]
2017-07-16 12:46 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2a8j62vmp.fsf@guru.guru-group.fi \
--to=tomi.ollila@iki.fi \
--cc=david@tethera.net \
--cc=notmuch@notmuchmail.org \
--cc=pabs@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).