Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
doc: fix an unclear wording in readline.md
PR-URL: #12605
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
vsemozhetbyt authored and evanlucas committed May 2, 2017
1 parent da01ff7 commit 45facc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/readline.md
Expand Up @@ -403,8 +403,8 @@ a `'resize'` event on the `output` if or when the columns ever change

### Use of the `completer` Function

When called, the `completer` function is provided the current line entered by
the user, and is expected to return an Array with 2 entries:
The `completer` function takes the current line entered by the user
as an argument, and returns an Array with 2 entries:

* An Array with matching entries for the completion.
* The substring that was used for the matching.
Expand Down

0 comments on commit 45facc8

Please sign in to comment.