version command: fix version string (#662)
This commit is contained in:
1 parent
ef16b6177c
commit
bcfd9d038f
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user