This is an automated email from the ASF dual-hosted git repository.

ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-newt.git

commit d259c398fae3fd8f49fe24102d2ac6b18fa15ad7
Author: Christopher Collins <ccoll...@apache.org>
AuthorDate: Mon Jan 27 10:34:49 2020 -0800

    `newt info`: Include newt version at top of output
    
    The `newt info` command displays information about each repo in the
    user's project.  Including the newt version makes the output more useful
    when a user reports an issue.
---
 newt/cli/project_cmds.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/newt/cli/project_cmds.go b/newt/cli/project_cmds.go
index 1dae11a..087a9fc 100644
--- a/newt/cli/project_cmds.go
+++ b/newt/cli/project_cmds.go
@@ -127,6 +127,8 @@ func upgradeRunCmd(cmd *cobra.Command, args []string) {
 }
 
 func infoRunCmd(cmd *cobra.Command, args []string) {
+       newtutil.PrintNewtVersion()
+
        proj := TryGetProject()
 
        // If no arguments specified, print status of all installed repos.

Reply via email to