1
0
forked from um/cli

Update Help Text

This commit is contained in:
Emmm Monster 2021-05-16 17:21:20 +08:00
parent 1f0aefb72d
commit ad301e0ff2
No known key found for this signature in database
GPG Key ID: C98279C83FB50DB9

View File

@ -17,7 +17,7 @@ import (
"strings" "strings"
) )
var AppVersion = "0.0.3" var AppVersion = "0.0.4"
func main() { func main() {
app := cli.App{ app := cli.App{
@ -31,9 +31,9 @@ func main() {
}, },
Action: appMain, Action: appMain,
Copyright: "Copyright (c) 2020 Unlock Music https://github.com/unlock-music/cli/blob/master/LICENSE", Copyright: "Copyright (c) 2020 - 2021 Unlock Music https://github.com/unlock-music/cli/blob/master/LICENSE",
HideHelpCommand: true, HideHelpCommand: true,
UsageText: "um -i /path/to/input -o /path/to/output/dir", UsageText: "um [-o /path/to/output/dir] [-i] /path/to/input",
} }
err := app.Run(os.Args) err := app.Run(os.Args)
if err != nil { if err != nil {