diff --git a/doc/api/readline.md b/doc/api/readline.md index 47dfad8dabb173..43d3a7e8f62dd4 100644 --- a/doc/api/readline.md +++ b/doc/api/readline.md @@ -487,7 +487,7 @@ function completer(linePartial, callback) { } ``` -## readline.cursorTo(stream, x, y[, callback]) +## readline.cursorTo(stream, x[, y][, callback])