Skip to content

Commit

Permalink
更新帮助文档以及版本显示
Browse files Browse the repository at this point in the history
  • Loading branch information
wetor committed Mar 21, 2022
1 parent cd4a797 commit f9428c9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
[script.optional] Text in TBL format. Must be utf8 encoding. Choose between "charset" and "tbl"
-type string
[required] Source file type.
MES(msb) Script: "script"
Now only MES format scripts are supported
Mages Script: "script"
Supported MES(msb), SC3(scx)
Diff Binary File: "diff"
Diff input and output file
Expand Down
11 changes: 9 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,19 @@ import (

func main() {

fmt.Print(`MagesTools
Version: 0.2.1_2022.03.21
Author: WéΤοr ([email protected])
Github: https://github.com/wetor/MagesTools
License: GPL-3.0
`)
var pType, pSource, pInput, pOutput, pScriptFormat, pCharset, pTbl string
var pImport, pExport, pSkipChar bool
var pDebug int
flag.StringVar(&pType, "type", "", `[required] Source file type.
MES(msb) Script: "script"
Now only MES format scripts are supported
Mages Script: "script"
Supported MES(msb), SC3(scx)
Diff Binary File: "diff"
Diff input and output file
`)
Expand Down

0 comments on commit f9428c9

Please sign in to comment.