Clean up cli help doc, add github and doc links

This commit is contained in:
Mike Farah
2021-07-09 14:58:09 +10:00
parent 21e2fdaea2
commit cae3d95fdc
5 changed files with 37 additions and 16 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ const ProductName = "yq"
// GetVersionDisplay composes the parts of the version in a way that's suitable
// for displaying to humans.
func GetVersionDisplay() string {
return fmt.Sprintf("%s version %s\n", ProductName, getHumanVersion())
return fmt.Sprintf("yq (https://github.com/mikefarah/yq/) version %s\n", getHumanVersion())
}
func getHumanVersion() string {