GeezerVison is showing github.com — doc: unify optional arguments format in headings · nodejs/node@1ebaa2a
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: doc/api/dgram.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -259,7 +259,7 @@ Calling `socket.ref()` multiples times will have no additional effect. | 259 | 259 | The `socket.ref()` method returns a reference to the socket so calls can be | 260 | 260 | chained. | 261 | 261 |
| 262 | | -### socket.send(msg, [offset, length,] port [, address] [, callback]) | | 262 | +### socket.send(msg[, offset, length], port[, address][, callback]) | 263 | 263 | <!-- YAML | 264 | 264 | added: v0.1.99 | 265 | 265 | changes: | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/http2.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -349,7 +349,7 @@ Will be `true` if this `Http2Session` instance is still connecting, will be set | 349 | 349 | to `false` before emitting `connect` event and/or calling the `http2.connect` | 350 | 350 | callback. | 351 | 351 |
| 352 | | -#### http2session.destroy([error,][code]) | | 352 | +#### http2session.destroy([error][, code]) | 353 | 353 | <!-- YAML | 354 | 354 | added: v8.4.0 | 355 | 355 | --> | @@ -392,7 +392,7 @@ connected, `true` if the `Http2Session` is connected with a `TLSSocket`, | 392 | 392 | and `false` if the `Http2Session` is connected to any other kind of socket | 393 | 393 | or stream. | 394 | 394 |
| 395 | | -#### http2session.goaway([code, [lastStreamID, [opaqueData]]]) | | 395 | +#### http2session.goaway([code[, lastStreamID[, opaqueData]]]) | 396 | 396 | <!-- YAML | 397 | 397 | added: v9.4.0 | 398 | 398 | --> | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/repl.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -433,7 +433,7 @@ buffered but not yet executed. This method is primarily intended to be | 433 | 433 | called from within the action function for commands registered using the | 434 | 434 | `replServer.defineCommand()` method. | 435 | 435 |
| 436 | | -### replServer.parseREPLKeyword(keyword, [rest]) | | 436 | +### replServer.parseREPLKeyword(keyword[, rest]) | 437 | 437 | <!-- YAML | 438 | 438 | added: v0.8.9 | 439 | 439 | deprecated: v9.0.0 | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/zlib.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -435,7 +435,7 @@ added: v0.9.4 | 435 | 435 |
| 436 | 436 | Close the underlying handle. | 437 | 437 |
| 438 | | -### zlib.flush([kind], callback) | | 438 | +### zlib.flush([kind, ]callback) | 439 | 439 | <!-- YAML | 440 | 440 | added: v0.5.8 | 441 | 441 | --> | |
|