mynewt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject incubator-mynewt-newt git commit: Fix error msg formatting when encountering unknown target.
Date Thu, 10 Mar 2016 22:48:45 GMT
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 <marko@runtime.io>
Authored: Thu Mar 10 14:48:33 2016 -0800
Committer: Marko Kiiskila <marko@runtime.io>
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)


Mime
View raw message