Skip to content

Commit 7800e75

Browse files
committed
rename bin name
1 parent 1734b76 commit 7800e75

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

cli/vstruct/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ import (
1414

1515
var Version string
1616

17-
var VersionInfo = "vsc" + Version + " " + runtime.GOOS + "/" + runtime.GOARCH
17+
var VersionInfo = "vstruct" + Version + " " + runtime.GOOS + "/" + runtime.GOARCH
1818

1919
//go:embed LICENSE.txt
2020
var license string
2121

2222
func PrintUsage() {
2323
fmt.Printf("\nvstruct compiler\n")
24-
fmt.Printf("Usage:\n\n\t%s [options] <lang> <package name> <input file>\n", os.Args[0])
24+
fmt.Printf("Usage:\n\n\tvstruct [options] <lang> <package name> <input file>\n")
2525

2626
fmt.Printf("\n\nOptions:\n")
2727
fmt.Printf("\t-o <output>\t\tOutput file name (default: <inputfile>.ext where ext is the language extension)\n")
@@ -51,7 +51,7 @@ func main() {
5151
if strings.HasPrefix(args[i], "-") {
5252
switch args[i] {
5353
case "-v":
54-
fmt.Printf("vsc version: %s\n", VersionInfo)
54+
fmt.Printf("vstruct version: %s\n", VersionInfo)
5555
os.Exit(0)
5656
case "-h":
5757
PrintUsage()

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vstruct",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Code Generation Based High Speed Data Serialization Tool",
55
"scripts": {
66
"test": "echo \"Error: no test specified\" && exit 1",

0 commit comments

Comments
 (0)