diff --git a/doc/api/repl.md b/doc/api/repl.md index b71ed111b42da1..a1dfffa9cc0c0a 100644 --- a/doc/api/repl.md +++ b/doc/api/repl.md @@ -381,7 +381,7 @@ within the action function for commands registered using the added: v9.0.0 --> -The `replServer.clearBufferedComand()` method clears any command that has been +The `replServer.clearBufferedCommand()` method clears any command that has been buffered but not yet executed. This method is primarily intended to be called from within the action function for commands registered using the `replServer.defineCommand()` method.