From 22bf1f59ac46d368810d6e6bf9961e62aec58691 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Thu, 1 May 2014 17:42:00 +0300 Subject: [PATCH] [PATCH 3/5] NEWS: cli exit status codes --- ce/7b8c650461a6b27ca197dbe5a04952c1adb7f0 | 97 +++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 ce/7b8c650461a6b27ca197dbe5a04952c1adb7f0 diff --git a/ce/7b8c650461a6b27ca197dbe5a04952c1adb7f0 b/ce/7b8c650461a6b27ca197dbe5a04952c1adb7f0 new file mode 100644 index 000000000..45efd8e65 --- /dev/null +++ b/ce/7b8c650461a6b27ca197dbe5a04952c1adb7f0 @@ -0,0 +1,97 @@ +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 38E9A431FCB + for ; Thu, 1 May 2014 07:42:25 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" +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 2uLp35rz8w+F for ; + Thu, 1 May 2014 07:42:21 -0700 (PDT) +Received: from mail-ee0-f50.google.com (mail-ee0-f50.google.com + [74.125.83.50]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + 7FDFD431FC4 for ; Thu, 1 May 2014 07:42:13 -0700 + (PDT) +Received: by mail-ee0-f50.google.com with SMTP id c13so2269077eek.37 + for ; Thu, 01 May 2014 07:42:12 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to + :references:in-reply-to:references; + bh=9Ssrk0/xc7TmX8bJ6+U4mBN6Y2kIouPUmcT4QYNquII=; + b=SFYwqe/HP/w/xjH8c4kpybJgYqVyUnolGuSg5lwUE7CgZqsdfKJLrbAQqIAawTHkur + GDhBD6UV9YDaofZ4w1ANr0HXxJRru25GDe/BSF6lPr3ZA7GA4GZnMM27qLiFDRJQlqYD + VdtZavqFKSRiU6YU6AbV7Nx2TDLI6XVIZRpYuU9VL+oQ7i71jT7qiBUsvhXvZtna/MIA + gTN8ZrJXao7oBoLkiULx35C5TuEVGE0PgbwBl5byqj/3qlznqOYaOnDvGj+nalcK9sN5 + OFrlq+sEjlsJBaQXoDhX2zyepJ4JzWweL7JnWmtc+EOS8Yqzxc9PJH0bdsAaMOI8qfFi + ivvQ== +X-Gm-Message-State: + ALoCoQlh3gbr/nKHsPjwNHUYoNAJbQ8bWaP8OFo4mUFrCdNzoK+6wYJ3pcUw/dkOtca1fupm1NeG +X-Received: by 10.14.87.7 with SMTP id x7mr10181621eee.44.1398955332334; + Thu, 01 May 2014 07:42:12 -0700 (PDT) +Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi. + [88.195.111.91]) + by mx.google.com with ESMTPSA id o5sm76813060eeg.8.2014.05.01.07.42.10 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Thu, 01 May 2014 07:42:11 -0700 (PDT) +From: Jani Nikula +To: notmuch@notmuchmail.org, + david@tethera.net +Subject: [PATCH 3/5] NEWS: cli exit status codes +Date: Thu, 1 May 2014 17:42:00 +0300 +Message-Id: + +X-Mailer: git-send-email 1.9.2 +In-Reply-To: +References: <1398899916-18352-1-git-send-email-david@tethera.net> + +In-Reply-To: +References: +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: Thu, 01 May 2014 14:42:26 -0000 + +--- + NEWS | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/NEWS b/NEWS +index b635b46aeebc..74a68c573f03 100644 +--- a/NEWS ++++ b/NEWS +@@ -76,6 +76,13 @@ Command-Line Interface + Do not synchronize tags to maildir flags in `notmuch insert` if the + user does not want it. + ++The commands set consistent exit status codes on failures ++ ++ The cli commands now consistently set exit status of 1 on failures, ++ except where explicitly otherwise noted. The notable expections are ++ the status codes for format version mismatches for commands that ++ support formatted output. ++ + Emacs Interface + --------------- + +-- +1.9.2 + -- 2.26.2