Commit 14ad16cc authored by Cristian Maglie's avatar Cristian Maglie

Added version info in the debug output

parent 2648da2a
......@@ -92,6 +92,7 @@ func preRun(cmd *cobra.Command, args []string) {
}
initConfigs()
logrus.Info(commands.AppName + "-" + commands.Version)
logrus.Info("Starting root command preparation (`arduino`)")
if !formatter.IsSupported(commands.GlobalFlags.Format) {
logrus.WithField("inserted format", commands.GlobalFlags.Format).Warn("Unsupported format, using text as default")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment