version command: fix version string (#662)

This commit is contained in:
Sam Salisbury authored and GitHub committed 2020-10-13 12:21:45 -07:00
1 parent ef16b6177c
commit bcfd9d038f
1 file changed
+1 -1
+1 -1
View File
@@ -63,7 +63,7 @@ func (c *Command) Run(args []string) int {
nonAttributeMap["Git Revision"] = verInfo.Revision
}
if verInfo.Version != "" {
nonAttributeMap["Version Number"] = verInfo.VersionNumber
nonAttributeMap["Version Number"] = verInfo.VersionNumber()
}
maxLength := base.MaxAttributesLength(nonAttributeMap, nil, nil)