fix: comment for wait command
This commit is contained in:
parent
9f185f8fb2
commit
06328ac51f
2 changed files with 3 additions and 3 deletions
|
@ -9,9 +9,9 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type waitCmd struct {
|
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"`
|
Intervals gli.Duration `cli:"intervals,i=DURATION" default:"1s"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
vvin.go
2
vvin.go
|
@ -33,7 +33,7 @@ type globalCmd struct {
|
||||||
Resize resizeCmd `cli:"resize,move,mv" help:"resize/move"`
|
Resize resizeCmd `cli:"resize,move,mv" help:"resize/move"`
|
||||||
Alpha alphaCmd `cli:"alpha" help:"set alpha 0%(transparent) - 100%(opaque)"`
|
Alpha alphaCmd `cli:"alpha" help:"set alpha 0%(transparent) - 100%(opaque)"`
|
||||||
Topmost topmostCmd `cli:"topmost" help:"set always on top/restore"`
|
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
|
targetHandle syscall.Handle
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue