You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2017/01/06 18:02:36 UTC

[1/2] incubator-mynewt-newt git commit: Fix load and debug commands

Repository: incubator-mynewt-newt
Updated Branches:
  refs/heads/develop c1dfedcd1 -> 138a96c89


Fix load and debug commands

Those two commands also provide short '-j' option for --extrajtagcmd
which is conflicting with '-j' short option for --jobs. Since those
are extra parameters just expect user to use long option for those.


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/f0728527
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/f0728527
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/f0728527

Branch: refs/heads/develop
Commit: f072852705156767819ace3d4e47441014468fda
Parents: c1dfedc
Author: Szymon Janc <sz...@codecoup.pl>
Authored: Thu Jan 5 12:35:18 2017 +0100
Committer: Szymon Janc <sz...@codecoup.pl>
Committed: Thu Jan 5 12:35:18 2017 +0100

----------------------------------------------------------------------
 newt/cli/build_cmds.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/f0728527/newt/cli/build_cmds.go
----------------------------------------------------------------------
diff --git a/newt/cli/build_cmds.go b/newt/cli/build_cmds.go
index 03b9962..153997a 100644
--- a/newt/cli/build_cmds.go
+++ b/newt/cli/build_cmds.go
@@ -408,7 +408,7 @@ func AddBuildCommands(cmd *cobra.Command) {
 	cmd.AddCommand(loadCmd)
 	AddTabCompleteFn(loadCmd, targetList)
 
-	loadCmd.PersistentFlags().StringVarP(&extraJtagCmd, "extrajtagcmd", "j", "",
+	loadCmd.PersistentFlags().StringVarP(&extraJtagCmd, "extrajtagcmd", "", "",
 		"extra commands to send to JTAG software")
 
 	debugHelpText := "Open debugger session for <target-name>."
@@ -420,7 +420,7 @@ func AddBuildCommands(cmd *cobra.Command) {
 		Run:   debugRunCmd,
 	}
 
-	debugCmd.PersistentFlags().StringVarP(&extraJtagCmd, "extrajtagcmd", "j",
+	debugCmd.PersistentFlags().StringVarP(&extraJtagCmd, "extrajtagcmd", "",
 		"", "extra commands to send to JTAG software")
 	debugCmd.PersistentFlags().BoolVarP(&noGDB_flag, "noGDB", "n", false,
 		"don't start GDB from command line")


[2/2] incubator-mynewt-newt git commit: This closes #30.

Posted by cc...@apache.org.
This closes #30.

Merge remote-tracking branch 'sjanc/fix' into develop


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/138a96c8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/138a96c8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/138a96c8

Branch: refs/heads/develop
Commit: 138a96c89b1b921d326ca10e30473a88759077e0
Parents: c1dfedc f072852
Author: Christopher Collins <cc...@apache.org>
Authored: Fri Jan 6 10:02:08 2017 -0800
Committer: Christopher Collins <cc...@apache.org>
Committed: Fri Jan 6 10:02:08 2017 -0800

----------------------------------------------------------------------
 newt/cli/build_cmds.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------