unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 0/6] cli getoptification
@ 2011-11-13 22:47 Jani Nikula
  2011-11-13 22:47 ` [PATCH 1/6] cli: notmuch new: use getopt_long for parsing command line options Jani Nikula
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Jani Nikula @ 2011-11-13 22:47 UTC (permalink / raw)
  To: notmuch, david

Hi, this set switches to getopt_long for parsing command line options where
applicable, and hopefully makes David happy. ;)

This is on top of id:"cover.1321217854.git.jani@nikula.org".

This was a fairly quick exercise, so watch out for bugs. getopt_long does have
subtle differences from the original. All the tests pass after patch 6/6.

BR,
Jani.


Jani Nikula (6):
  cli: notmuch new: use getopt_long for parsing command line options
  cli: notmuch search: use getopt_long for parsing command line options
  cli: notmuch show: use getopt_long for parsing command line options
  cli: notmuch count: use getopt_long for parsing command line options
  cli: notmuch reply: use getopt_long for parsing command line options
  test: emacs-large-search-buffer: expected results according to
    getopt_long

 notmuch-client.h               |    1 +
 notmuch-count.c                |   33 ++++++++-------
 notmuch-new.c                  |   20 +++++++--
 notmuch-reply.c                |   40 ++++++++++--------
 notmuch-search.c               |   90 +++++++++++++++++++++------------------
 notmuch-show.c                 |   61 +++++++++++++++-----------
 test/emacs-large-search-buffer |    2 +-
 7 files changed, 141 insertions(+), 106 deletions(-)

-- 
1.7.5.4

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-12-02  6:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-13 22:47 [PATCH 0/6] cli getoptification Jani Nikula
2011-11-13 22:47 ` [PATCH 1/6] cli: notmuch new: use getopt_long for parsing command line options Jani Nikula
2011-11-13 22:47 ` [PATCH 2/6] cli: notmuch search: " Jani Nikula
2011-11-13 22:47 ` [PATCH 3/6] cli: notmuch show: " Jani Nikula
2011-11-13 22:47 ` [PATCH 4/6] cli: notmuch count: " Jani Nikula
2011-11-13 22:47 ` [PATCH 5/6] cli: notmuch reply: " Jani Nikula
2011-11-13 22:47 ` [PATCH 6/6] test: emacs-large-search-buffer: expected results according to getopt_long Jani Nikula
2011-12-01  1:15   ` [RFC PATCH 1/3] notmuch-opts.[ch]: new argument parsing framework for notmuch David Bremner
2011-12-01  1:15     ` [PATCH 2/3] notmuch-dump: convert to notmuch-opts option-parsing David Bremner
2011-12-01  1:15     ` [PATCH 3/3] notmuch-dump.c: add a format option David Bremner
2011-12-02  6:41       ` [RFC Patch v2 1/3] notmuch-opts.[ch]: new argument parsing framework for notmuch David Bremner
2011-12-02  6:41         ` [RFC Patch v2 2/3] notmuch-dump: convert to notmuch-opts argument handling David Bremner
2011-12-02  6:41         ` [RFC Patch v2 3/3] notmuch-dump: add --format option David Bremner

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).