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 7B39D431FBF for ; Tue, 4 Mar 2014 08:52:05 -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 DIRx3MNTfM6K for ; Tue, 4 Mar 2014 08:52:01 -0800 (PST) Received: from mail-ee0-f52.google.com (mail-ee0-f52.google.com [74.125.83.52]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id DDDA4431FBD for ; Tue, 4 Mar 2014 08:52:00 -0800 (PST) Received: by mail-ee0-f52.google.com with SMTP id e49so1591844eek.11 for ; Tue, 04 Mar 2014 08:51:58 -0800 (PST) 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; bh=kWRy6qsZLDKu+nYEPfgkDipaqQGw1PC76zzJcRQD4AA=; b=D0T0lC8te13SM1Re8iqwu6dcT/Ehx0W9e6XLwFPYCDj0PQ0ZhXiNrWldFn2YJjwYZ+ Vn+WahSSZiJvSD84feynTTwpkTA/zfTYVuKwjzRBtH4o5dhYHE77BxDgPHPeZFNEl1L+ BOzfIO9zmsjeLbHLlF/8xeq4ixs6VdCfbTdLuD/mhehQI0e65G6Xt2YZz2m8sO2ar6Y1 jurAAkxImKipasylOQZTehrSjPk3BzeWTPl3t31iJvYG0GID8lmNE07mTTpGXZxHtkud hni10e+Yp03M7+199TJ3AUKUTU/vSobAvbGjYAz9cbbJXZbF4mV72WAuCgep+wezXYNQ F6sQ== X-Gm-Message-State: ALoCoQmRXJmucBYjlDLjeWHu/T8R+PgGPiJHQDO3GW09O75C4vD8Y2rOYkanzEp3/6kl0J+x1q7f X-Received: by 10.14.194.133 with SMTP id m5mr597479een.38.1393951917074; Tue, 04 Mar 2014 08:51:57 -0800 (PST) Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi. [88.195.111.91]) by mx.google.com with ESMTPSA id u6sm65157994eep.11.2014.03.04.08.51.55 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 04 Mar 2014 08:51:56 -0800 (PST) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH] cli: add missing \n in error message Date: Tue, 4 Mar 2014 18:51:54 +0200 Message-Id: <1393951914-26742-1-git-send-email-jani@nikula.org> X-Mailer: git-send-email 1.8.5.3 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: Tue, 04 Mar 2014 16:52:05 -0000 The error messages returned by illegal_tag() don't contain newlines. --- tag-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tag-util.c b/tag-util.c index e2d5b795acc3..343c161f471a 100644 --- a/tag-util.c +++ b/tag-util.c @@ -172,7 +172,7 @@ parse_tag_command_line (void *ctx, int argc, char **argv, msg = illegal_tag (argv[i] + 1, is_remove); if (msg) { - fprintf (stderr, "Error: %s", msg); + fprintf (stderr, "Error: %s\n", msg); return TAG_PARSE_INVALID; } -- 1.8.5.3