diff --git a/command/agent/command.go b/command/agent/command.go index cd2756b4f8..0163223966 100644 --- a/command/agent/command.go +++ b/command/agent/command.go @@ -412,6 +412,10 @@ func (c *Command) setupAgent(config *Config, logOutput io.Writer, logWriter *log if len(config.VersionPrerelease) != 0 { version += " " + config.VersionPrerelease + + if len(config.Revision) != 0 { + version += " " + config.Revision + } } c.Ui.Output("Starting Consul agent (" + version + ")...")