ACTUALLY USE THE ARGS
This commit is contained in:
parent
7e672fe662
commit
d83bfc784c
1 changed files with 2 additions and 2 deletions
4
vvin.go
4
vvin.go
|
@ -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 (
|
||||||
|
|
Loading…
Reference in a new issue