File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ import (
1414
1515var 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
2020var license string
2121
2222func PrintUsage () {
2323 fmt .Printf ("\n vstruct 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 \t vstruct [options] <lang> <package name> <input file>\n " )
2525
2626 fmt .Printf ("\n \n Options:\n " )
2727 fmt .Printf ("\t -o <output>\t \t Output 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 ()
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments