fix: comment for wait command

This commit is contained in:
ShuheiKubota 2019-11-18 14:55:17 +09:00
parent 9f185f8fb2
commit 06328ac51f
2 changed files with 3 additions and 3 deletions

View file

@ -9,9 +9,9 @@ import (
)
type waitCmd struct {
_ struct{} `help:"[--wait] {Title}"`
_ struct{} `help:"[--close] {Title}"`
Closed bool
Closed bool `help:"wait until the window is closed"`
Intervals gli.Duration `cli:"intervals,i=DURATION" default:"1s"`
}

View file

@ -33,7 +33,7 @@ type globalCmd struct {
Resize resizeCmd `cli:"resize,move,mv" help:"resize/move"`
Alpha alphaCmd `cli:"alpha" help:"set alpha 0%(transparent) - 100%(opaque)"`
Topmost topmostCmd `cli:"topmost" help:"set always on top/restore"`
Wait waitCmd `cli:"wait"`
Wait waitCmd `cli:"wait" help:"wait for a window is opened/closed ([--close] {Title})"`
targetHandle syscall.Handle