From: David Bremner <david@tethera.net>
To: notmuch@notmuchmail.org
Subject: [Paul Wise] Bug#825886: notmuch: allow separation of command-line options and their values: --option foo
Date: Tue, 31 May 2016 06:24:52 -0300 [thread overview]
Message-ID: <87k2iah95n.fsf@zancas.localnet> (raw)
[-- Attachment #0: Type: message/rfc822, Size: 9253 bytes --]
[-- Attachment #1.1: Type: text/plain, Size: 2173 bytes --]
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.
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
APT prefers testing-debug
APT policy: (900, 'testing-debug'), (900, 'testing'), (860, 'testing-proposed-updates'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.6.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages notmuch depends on:
ii libc6 2.22-9
ii libglib2.0-0 2.48.1-1
ii libgmime-2.6-0 2.6.20-1+b1
ii libnotmuch4 0.22-1
ii libtalloc2 2.1.6-1
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages notmuch recommends:
ii alot 0.3.6-1
ii gnupg-agent 2.1.11-7
pn gpgsm <none>
ii notmuch-emacs 0.22-1
ii notmuch-mutt 0.22-1
notmuch suggests no packages.
--
bye,
pabs
https://wiki.debian.org/PaulWise
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
next reply other threads:[~2016-05-31 9:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-31 9:24 David Bremner [this message]
2016-05-31 13:40 ` [Paul Wise] Bug#825886: notmuch: allow separation of command-line options and their values: --option foo Tomi Ollila
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=87k2iah95n.fsf@zancas.localnet \
--to=david@tethera.net \
--cc=notmuch@notmuchmail.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).