add: help msg
This commit is contained in:
parent
a71fc16263
commit
5fa8324192
1 changed files with 7 additions and 7 deletions
14
vvin.go
14
vvin.go
|
@ -27,13 +27,13 @@ func init() {
|
||||||
|
|
||||||
type globalCmd struct {
|
type globalCmd struct {
|
||||||
Target string `cli:"target,t=WINDOW_TITLE" help:"default to current window"`
|
Target string `cli:"target,t=WINDOW_TITLE" help:"default to current window"`
|
||||||
Debug bool
|
Debug bool `help:"output debug info"`
|
||||||
|
|
||||||
Minimize minCmd `cli:"minimize,min"`
|
Minimize minCmd `cli:"minimize,min" help:"minimize/restore"`
|
||||||
Maximize maxCmd `cli:"maximize,max"`
|
Maximize maxCmd `cli:"maximize,max" help:"maximize/restore"`
|
||||||
Resize resizeCmd `cli:"resize,move,mv"`
|
Resize resizeCmd `cli:"resize,move,mv" help:"resize/move"`
|
||||||
Alpha alphaCmd `cli:"alpha"`
|
Alpha alphaCmd `cli:"alpha" help:"set alpha 0%(transparent) - 100%(opaque)"`
|
||||||
Topmost topmostCmd `cli:"topmost"`
|
Topmost topmostCmd `cli:"topmost" help:"set always on top/restore"`
|
||||||
|
|
||||||
targetHandle syscall.Handle
|
targetHandle syscall.Handle
|
||||||
|
|
||||||
|
@ -219,7 +219,7 @@ func (c topmostCmd) Run(g globalCmd) {
|
||||||
func main() {
|
func main() {
|
||||||
app := gli.NewWith(&globalCmd{})
|
app := gli.NewWith(&globalCmd{})
|
||||||
app.Name = "vvin"
|
app.Name = "vvin"
|
||||||
app.Desc = ""
|
app.Desc = "Change window properties for Windows"
|
||||||
app.Version = Version
|
app.Version = Version
|
||||||
app.Usage = ``
|
app.Usage = ``
|
||||||
app.Copyright = "(C) 2019 Shuhei Kubota"
|
app.Copyright = "(C) 2019 Shuhei Kubota"
|
||||||
|
|
Loading…
Reference in a new issue