From: Adam Wolfe Gordon Date: Fri, 16 Dec 2011 16:41:58 +0000 (+1700) Subject: Re: have "notmuch help" call man? X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=91a405a03ad50526eab73c13d60daa485af7be3a;p=notmuch-archives.git Re: have "notmuch help" call man? --- diff --git a/3f/4504c82c0ce8e913ba3b4415b1c1a243bbab0a b/3f/4504c82c0ce8e913ba3b4415b1c1a243bbab0a new file mode 100644 index 000000000..60d44c72e --- /dev/null +++ b/3f/4504c82c0ce8e913ba3b4415b1c1a243bbab0a @@ -0,0 +1,66 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 38973429E28 + for ; Fri, 16 Dec 2011 08:42:03 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 9qRu68M9dORp for ; + Fri, 16 Dec 2011 08:42:01 -0800 (PST) +Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com + [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 46C15431FD0 + for ; Fri, 16 Dec 2011 08:42:01 -0800 (PST) +Received: by eaaj12 with SMTP id j12so3489721eaa.26 + for ; Fri, 16 Dec 2011 08:41:58 -0800 (PST) +MIME-Version: 1.0 +Received: by 10.204.153.216 with SMTP id l24mr3214866bkw.64.1324053718296; + Fri, 16 Dec 2011 08:41:58 -0800 (PST) +Sender: awg@xvx.ca +Received: by 10.204.155.145 with HTTP; Fri, 16 Dec 2011 08:41:58 -0800 (PST) +X-Originating-IP: [208.77.198.202] +In-Reply-To: <87zkescxp5.fsf@zancas.localnet> +References: <87zkescxp5.fsf@zancas.localnet> +Date: Fri, 16 Dec 2011 09:41:58 -0700 +X-Google-Sender-Auth: F2UIeT_buevmemXhP1Gx5i4VQ5A +Message-ID: + +Subject: Re: have "notmuch help" call man? +From: Adam Wolfe Gordon +To: David Bremner +Content-Type: text/plain; charset=ISO-8859-1 +Cc: Notmuch Mail +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 16 Dec 2011 16:42:03 -0000 + +On Fri, Dec 16, 2011 at 09:01, David Bremner wrote: +> Currently help strings are compiled into the notmuch binary. This is a +> bit a of pain, since we have the same help text in two places. +> What do you think about having "notmuch help foo" invoke "man +> notmuch-foo" and create appropriate man pages (or links). + +I really like this git-style idea. An additional plus is that long +help (e.g. notmuch help show) would be automatically paged, avoiding a +lot of !!|less. + +-- +Adam Wolfe Gordon