diff --git a/doc/api/fs.md b/doc/api/fs.md index edd7054d6aab36..ae1db3899f4fe8 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -4533,7 +4533,7 @@ and cleaning up the directory. The `encoding` option sets the encoding for the `path` while opening the directory and subsequent read operations. -### `fs.openSync(path[, flags, mode])` +### `fs.openSync(path[, flags[, mode]])`