mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Fix typos
This commit is contained in:
parent
b756d2e1f1
commit
c5afd86b9a
3 changed files with 5 additions and 5 deletions
|
|
@ -429,7 +429,7 @@ In addition to the Lua API tio makes the following functions available:
|
|||
.TP 6n
|
||||
|
||||
.IP "\fBexpect(string, timeout)"
|
||||
Expect string - waits for string to match or timeout before continueing.
|
||||
Expect string - waits for string to match or timeout before continuing.
|
||||
Supports regular expressions. Special characters must be escaped with '\\\\'.
|
||||
Timeout is in milliseconds, defaults to 0 meaning it will wait forever.
|
||||
|
||||
|
|
@ -475,7 +475,7 @@ State is high, low, or toggle.
|
|||
.IP "\fBsleep(seconds)"
|
||||
Sleep for seconds.
|
||||
.IP "\fBmsleep(ms)"
|
||||
Sleep for miliseconds.
|
||||
Sleep for milliseconds.
|
||||
.IP "\fBexit(code)"
|
||||
Exit with exit code.
|
||||
|
||||
|
|
|
|||
|
|
@ -341,7 +341,7 @@ SCRIPT API
|
|||
In addition to the Lua API tio makes the following functions available:
|
||||
|
||||
expect(string, timeout)
|
||||
Expect string - waits for string to match or timeout before continueing. Supports regular expressions. Special characters must be escaped with '\\'. Timeout is in milliseconds, defaults to 0 meaning it will wait forever.
|
||||
Expect string - waits for string to match or timeout before continuing. Supports regular expressions. Special characters must be escaped with '\\'. Timeout is in milliseconds, defaults to 0 meaning it will wait forever.
|
||||
|
||||
Returns 1 on successful match, 0 on timeout, or -1 on error.
|
||||
|
||||
|
|
@ -382,7 +382,7 @@ SCRIPT API
|
|||
Sleep for seconds.
|
||||
|
||||
msleep(ms)
|
||||
Sleep for miliseconds.
|
||||
Sleep for milliseconds.
|
||||
|
||||
exit(code)
|
||||
Exit with exit code.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue