Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
Co-authored-by: Erick Zhao <erick@hotmail.ca>

Co-authored-by: Robo <hop2deep@gmail.com>
  • Loading branch information
trop[bot] and deepak1556 committed Aug 15, 2023
1 parent cd48ca8 commit 812e711
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/api/command-line-switches.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,12 +293,12 @@ Print stack traces for process warnings (including deprecations).

### `--dns-result-order=order`

Set the default value of verbatim in `dns.lookup()` and `dnsPromises.lookup()`. The value could be:
Set the default value of the `verbatim` parameter in the Node.js [`dns.lookup()`](https://nodejs.org/api/dns.html#dnslookuphostname-options-callback) and [`dnsPromises.lookup()`](https://nodejs.org/api/dns.html#dnspromiseslookuphostname-options) functions. The value could be:

* ipv4first: sets default verbatim false.
* verbatim: sets default verbatim true.
* `ipv4first`: sets default `verbatim` `false`.
* `verbatim`: sets default `verbatim` `true`.

The default is verbatim and `dns.setDefaultResultOrder()` have higher priority than `--dns-result-order`.
The default is `verbatim` and `dns.setDefaultResultOrder()` have higher priority than `--dns-result-order`.

[app]: app.md
[append-switch]: command-line.md#commandlineappendswitchswitch-value
Expand Down

0 comments on commit 812e711

Please sign in to comment.