diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-09 14:22:14 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-09 17:01:29 +0300 |
commit | 321c178faa51d1f9e7c8ac60790aeca187a50e1f (patch) | |
tree | afc253d48e5f56bbabfc5f608b14501f7bb9c6c9 /doc | |
parent | ef07d6570f1c6345b7f991ca2d986dec6a481350 (diff) | |
download | android-node-v8-321c178faa51d1f9e7c8ac60790aeca187a50e1f.tar.gz android-node-v8-321c178faa51d1f9e7c8ac60790aeca187a50e1f.tar.bz2 android-node-v8-321c178faa51d1f9e7c8ac60790aeca187a50e1f.zip |
doc: add missing quotes in default string values
PR-URL: https://github.com/nodejs/node/pull/19894
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/crypto.md | 6 | ||||
-rw-r--r-- | doc/api/http.md | 4 | ||||
-rw-r--r-- | doc/api/https.md | 2 | ||||
-rw-r--r-- | doc/api/process.md | 4 | ||||
-rw-r--r-- | doc/api/repl.md | 6 |
5 files changed, 11 insertions, 11 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 0b199c7431..ed9711cd06 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -678,7 +678,7 @@ added: REPLACEME - `curve` {string} - `inputEncoding` {string} - `outputEncoding` {string} -- `format` {string} **Default:** `uncompressed` +- `format` {string} **Default:** `'uncompressed'` - Returns: {Buffer | string} Converts the EC Diffie-Hellman public key specified by `key` and `curve` to the @@ -757,7 +757,7 @@ its recommended for developers to handle this exception accordingly. added: v0.11.14 --> - `encoding` {string} -- `format` {string} **Default:** `uncompressed` +- `format` {string} **Default:** `'uncompressed'` - Returns: {Buffer | string} Generates private and public EC Diffie-Hellman key values, and returns @@ -786,7 +786,7 @@ added: v0.11.14 added: v0.11.14 --> - `encoding` {string} -- `format` {string} **Default:** `uncompressed` +- `format` {string} **Default:** `'uncompressed'` - Returns: {Buffer | string} The EC Diffie-Hellman public key in the specified `encoding` and `format`. diff --git a/doc/api/http.md b/doc/api/http.md index 4218bbf7e6..95dd09c239 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -1823,9 +1823,9 @@ changes: --> * `options` {Object | string | URL} - * `protocol` {string} Protocol to use. **Default:** `http:`. + * `protocol` {string} Protocol to use. **Default:** `'http:'`. * `host` {string} A domain name or IP address of the server to issue the - request to. **Default:** `localhost`. + request to. **Default:** `'localhost'`. * `hostname` {string} Alias for `host`. To support [`url.parse()`][], `hostname` is preferred over `host`. * `family` {number} IP address family to use when resolving `host` and diff --git a/doc/api/https.md b/doc/api/https.md index bcaf46a09b..0524cd2816 100644 --- a/doc/api/https.md +++ b/doc/api/https.md @@ -160,7 +160,7 @@ changes: --> - `options` {Object | string | URL} Accepts all `options` from [`http.request()`][], with some differences in default values: - - `protocol` **Default:** `https:` + - `protocol` **Default:** `'https:'` - `port` **Default:** `443` - `agent` **Default:** `https.globalAgent` - `callback` {Function} diff --git a/doc/api/process.md b/doc/api/process.md index 6338da49aa..bff5e376ec 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -700,7 +700,7 @@ added: v8.0.0 * `warning` {string|Error} The warning to emit. * `options` {Object} * `type` {string} When `warning` is a String, `type` is the name to use - for the *type* of warning being emitted. **Default:** `Warning`. + for the *type* of warning being emitted. **Default:** `'Warning'`. * `code` {string} A unique identifier for the warning instance being emitted. * `ctor` {Function} When `warning` is a String, `ctor` is an optional function used to limit the generated stack trace. **Default:** @@ -745,7 +745,7 @@ added: v6.0.0 * `warning` {string|Error} The warning to emit. * `type` {string} When `warning` is a String, `type` is the name to use - for the *type* of warning being emitted. **Default:** `Warning`. + for the *type* of warning being emitted. **Default:** `'Warning'`. * `code` {string} A unique identifier for the warning instance being emitted. * `ctor` {Function} When `warning` is a String, `ctor` is an optional function used to limit the generated stack trace. **Default:** diff --git a/doc/api/repl.md b/doc/api/repl.md index f3f2fead57..309cc62018 100644 --- a/doc/api/repl.md +++ b/doc/api/repl.md @@ -430,7 +430,7 @@ changes: --> * `options` {Object|string} - * `prompt` {string} The input prompt to display. **Default:** `> `. + * `prompt` {string} The input prompt to display. **Default:** `'> '` (with a trailing space). * `input` {stream.Readable} The Readable stream from which REPL input will be read. **Default:** `process.stdin`. @@ -513,8 +513,8 @@ environment variables: - `NODE_REPL_HISTORY_SIZE` - Controls how many lines of history will be persisted if history is available. Must be a positive number. **Default:** `1000`. - - `NODE_REPL_MODE` - May be either `sloppy` or `strict`. **Default:** `sloppy`, - which will allow non-strict mode code to be run. + - `NODE_REPL_MODE` - May be either `'sloppy'` or `'strict'`. **Default:** + `'sloppy'`, which will allow non-strict mode code to be run. ### Persistent History |