Skip to content

Commit 14ad16c

Browse files
committed
Added version info in the debug output
1 parent 2648da2 commit 14ad16c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: commands/root/root.go

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ func preRun(cmd *cobra.Command, args []string) {
9292
}
9393
initConfigs()
9494

95+
logrus.Info(commands.AppName + "-" + commands.Version)
9596
logrus.Info("Starting root command preparation (`arduino`)")
9697
if !formatter.IsSupported(commands.GlobalFlags.Format) {
9798
logrus.WithField("inserted format", commands.GlobalFlags.Format).Warn("Unsupported format, using text as default")

0 commit comments

Comments
 (0)