[PATCH 3/5] NEWS: cli exit status codes
authorJani Nikula <jani@nikula.org>
Thu, 1 May 2014 14:42:00 +0000 (17:42 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:02:01 +0000 (10:02 -0800)
ce/7b8c650461a6b27ca197dbe5a04952c1adb7f0 [new file with mode: 0644]

diff --git a/ce/7b8c650461a6b27ca197dbe5a04952c1adb7f0 b/ce/7b8c650461a6b27ca197dbe5a04952c1adb7f0
new file mode 100644 (file)
index 0000000..45efd8e
--- /dev/null
@@ -0,0 +1,97 @@
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 38E9A431FCB\r
+       for <notmuch@notmuchmail.org>; Thu,  1 May 2014 07:42:25 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 2uLp35rz8w+F for <notmuch@notmuchmail.org>;\r
+       Thu,  1 May 2014 07:42:21 -0700 (PDT)\r
+Received: from mail-ee0-f50.google.com (mail-ee0-f50.google.com\r
+ [74.125.83.50])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 7FDFD431FC4   for <notmuch@notmuchmail.org>; Thu,  1 May 2014 07:42:13 -0700\r
+ (PDT)\r
+Received: by mail-ee0-f50.google.com with SMTP id c13so2269077eek.37\r
+       for <notmuch@notmuchmail.org>; Thu, 01 May 2014 07:42:12 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\r
+       :references:in-reply-to:references;\r
+       bh=9Ssrk0/xc7TmX8bJ6+U4mBN6Y2kIouPUmcT4QYNquII=;\r
+       b=SFYwqe/HP/w/xjH8c4kpybJgYqVyUnolGuSg5lwUE7CgZqsdfKJLrbAQqIAawTHkur\r
+       GDhBD6UV9YDaofZ4w1ANr0HXxJRru25GDe/BSF6lPr3ZA7GA4GZnMM27qLiFDRJQlqYD\r
+       VdtZavqFKSRiU6YU6AbV7Nx2TDLI6XVIZRpYuU9VL+oQ7i71jT7qiBUsvhXvZtna/MIA\r
+       gTN8ZrJXao7oBoLkiULx35C5TuEVGE0PgbwBl5byqj/3qlznqOYaOnDvGj+nalcK9sN5\r
+       OFrlq+sEjlsJBaQXoDhX2zyepJ4JzWweL7JnWmtc+EOS8Yqzxc9PJH0bdsAaMOI8qfFi\r
+       ivvQ==\r
+X-Gm-Message-State:\r
+ ALoCoQlh3gbr/nKHsPjwNHUYoNAJbQ8bWaP8OFo4mUFrCdNzoK+6wYJ3pcUw/dkOtca1fupm1NeG\r
+X-Received: by 10.14.87.7 with SMTP id x7mr10181621eee.44.1398955332334;\r
+       Thu, 01 May 2014 07:42:12 -0700 (PDT)\r
+Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi.\r
+       [88.195.111.91])\r
+       by mx.google.com with ESMTPSA id o5sm76813060eeg.8.2014.05.01.07.42.10\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Thu, 01 May 2014 07:42:11 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org,\r
+       david@tethera.net\r
+Subject: [PATCH 3/5] NEWS: cli exit status codes\r
+Date: Thu,  1 May 2014 17:42:00 +0300\r
+Message-Id:\r
+ <c2ca7141929650f4aecc49d23bdee476669db2d8.1398955196.git.jani@nikula.org>\r
+X-Mailer: git-send-email 1.9.2\r
+In-Reply-To: <cover.1398955196.git.jani@nikula.org>\r
+References: <1398899916-18352-1-git-send-email-david@tethera.net>\r
+       <cover.1398955196.git.jani@nikula.org>\r
+In-Reply-To: <cover.1398955196.git.jani@nikula.org>\r
+References: <cover.1398955196.git.jani@nikula.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 01 May 2014 14:42:26 -0000\r
+\r
+---\r
+ NEWS | 7 +++++++\r
+ 1 file changed, 7 insertions(+)\r
+\r
+diff --git a/NEWS b/NEWS\r
+index b635b46aeebc..74a68c573f03 100644\r
+--- a/NEWS\r
++++ b/NEWS\r
+@@ -76,6 +76,13 @@ Command-Line Interface\r
+   Do not synchronize tags to maildir flags in `notmuch insert` if the\r
+   user does not want it.\r
\r
++The commands set consistent exit status codes on failures\r
++\r
++  The cli commands now consistently set exit status of 1 on failures,\r
++  except where explicitly otherwise noted. The notable expections are\r
++  the status codes for format version mismatches for commands that\r
++  support formatted output.\r
++\r
+ Emacs Interface\r
+ ---------------\r
\r
+-- \r
+1.9.2\r
+\r