Return-Path: X-Original-To: apmail-mynewt-commits-archive@minotaur.apache.org Delivered-To: apmail-mynewt-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4001D18689 for ; Thu, 10 Mar 2016 22:48:48 +0000 (UTC) Received: (qmail 44388 invoked by uid 500); 10 Mar 2016 22:48:48 -0000 Delivered-To: apmail-mynewt-commits-archive@mynewt.apache.org Received: (qmail 44357 invoked by uid 500); 10 Mar 2016 22:48:48 -0000 Mailing-List: contact commits-help@mynewt.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mynewt.incubator.apache.org Delivered-To: mailing list commits@mynewt.incubator.apache.org Received: (qmail 44348 invoked by uid 99); 10 Mar 2016 22:48:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2016 22:48:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id BC9CA1806D3 for ; Thu, 10 Mar 2016 22:48:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.549 X-Spam-Level: X-Spam-Status: No, score=-3.549 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.329] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id wEK8VEQc5LHa for ; Thu, 10 Mar 2016 22:48:47 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with SMTP id ECECF5F56C for ; Thu, 10 Mar 2016 22:48:45 +0000 (UTC) Received: (qmail 44335 invoked by uid 99); 10 Mar 2016 22:48:45 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2016 22:48:45 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0246ADFBDB; Thu, 10 Mar 2016 22:48:45 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: marko@apache.org To: commits@mynewt.incubator.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: incubator-mynewt-newt git commit: Fix error msg formatting when encountering unknown target. Date: Thu, 10 Mar 2016 22:48:45 +0000 (UTC) Repository: incubator-mynewt-newt Updated Branches: refs/heads/develop 94187c3c2 -> 5dc99d399 Fix error msg formatting when encountering unknown target. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/5dc99d39 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/5dc99d39 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/5dc99d39 Branch: refs/heads/develop Commit: 5dc99d399a4f65e5b1a4a635e81c87cc406d6bc1 Parents: 94187c3 Author: Marko Kiiskila Authored: Thu Mar 10 14:48:33 2016 -0800 Committer: Marko Kiiskila Committed: Thu Mar 10 14:48:33 2016 -0800 ---------------------------------------------------------------------- newt/cli/run_cmds.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/5dc99d39/newt/cli/run_cmds.go ---------------------------------------------------------------------- diff --git a/newt/cli/run_cmds.go b/newt/cli/run_cmds.go index 1ff6afb..9b62ad4 100644 --- a/newt/cli/run_cmds.go +++ b/newt/cli/run_cmds.go @@ -35,7 +35,7 @@ func runRunCmd(cmd *cobra.Command, args []string) { t := ResolveTarget(args[0]) if t == nil { - NewtUsage(cmd, util.NewNewtError("Invalid target name"+args[0])) + NewtUsage(cmd, util.NewNewtError("Invalid target name: "+args[0])) } b, err := builder.NewBuilder(t)