ACTUALLY USE THE ARGS

This commit is contained in:
Evan 2023-10-16 16:35:24 -04:00
parent 7e672fe662
commit d83bfc784c
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ func (c *globalCmd) Before() error {
return nil return nil
} }
func Start([]string) error { func Start(args []string) error {
app := gli.NewWith(&globalCmd{}) app := gli.NewWith(&globalCmd{})
app.Name = "vvin" app.Name = "vvin"
app.Desc = "Change window properties for Windows" app.Desc = "Change window properties for Windows"
@ -59,7 +59,7 @@ func Start([]string) error {
app.Usage = `` app.Usage = ``
app.Copyright = "(C) 2019 Shuhei Kubota" app.Copyright = "(C) 2019 Shuhei Kubota"
app.SuppressErrorOutput = true app.SuppressErrorOutput = true
return app.Run(os.Args) return app.Run(args)
} }
var ( var (