Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Commit

Permalink
README: telnet: fix English syntax
Browse files Browse the repository at this point in the history
Fix two typos and make it clear that `e` is the returned expecter.

Signed-off-by: Dan Kenigsberg <danken@redhat.com>
  • Loading branch information
dankenigsberg committed Aug 16, 2020
1 parent 35e6655 commit 402b291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func main() {
```

In essence to run and attach to a process the `expect.Spawn(<cmd>,<timeout>)` is used.
The spawn returns and Expecter that can rund `e.Expect` and `e.Send` commands to match information
The spawn returns an Expecter `e` that can run `e.Expect` and `e.Send` commands to match information
in the output and Send information in.

*See the https://github.com/google/goexpect/blob/master/examples/newspawner/telnet.go example for a slightly more fleshed out version*
Expand Down

0 comments on commit 402b291

Please sign in to comment.