diff --git a/client.go b/client.go index edebd57..7c22769 100644 --- a/client.go +++ b/client.go @@ -346,7 +346,11 @@ func (c *client) simpleCommand(action string) { case "HELP", "?": c.Visit(helplocation) case "VERSION": - c.SetMessage("Bombadillo version: " + version, false) + ver := version + if ver == "" { + ver = "Improperly compiled, no version information" + } + c.SetMessage("Bombadillo version: " + ver, false) c.DrawMessage() default: c.SetMessage(syntaxErrorMessage(action), true)