Skip to content

Commit fc27a80

Browse files
committed
test,cli: improve cli documentation tests with mandoc generation
1 parent b2161d3 commit fc27a80

File tree

4 files changed

+801
-536
lines changed

4 files changed

+801
-536
lines changed

doc/api/cli.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -592,14 +592,14 @@ Affects the default output directory of:
592592

593593
### `--disable-warning=code-or-type`
594594

595-
> Stability: 1.1 - Active development
596-
597595
<!-- YAML
598596
added:
599597
- v21.3.0
600598
- v20.11.0
601599
-->
602600

601+
> Stability: 1.1 - Active development
602+
603603
Disable specific process warnings by `code` or `type`.
604604

605605
Warnings emitted from [`process.emitWarning()`][emit_warning] may contain a
@@ -832,8 +832,6 @@ node --entry-url 'data:text/javascript,console.log("Hello")'
832832

833833
### `--env-file=config`
834834

835-
> Stability: 1.1 - Active development
836-
837835
<!-- YAML
838836
added: v20.6.0
839837
changes:
@@ -844,6 +842,8 @@ changes:
844842
description: Add support to multi-line values.
845843
-->
846844

845+
> Stability: 1.1 - Active development
846+
847847
Loads environment variables from a file relative to the current directory,
848848
making them available to applications on `process.env`. The [environment
849849
variables which configure Node.js][environment_variables], such as `NODE_OPTIONS`,
@@ -1975,7 +1975,7 @@ Write reports in a compact format, single-line JSON, more easily consumable
19751975
by log processing systems than the default multi-line format designed for
19761976
human consumption.
19771977

1978-
### `--report-dir=directory`, `report-directory=directory`
1978+
### `--report-dir=directory`, `--report-directory=directory`
19791979

19801980
<!-- YAML
19811981
added: v11.8.0
@@ -3052,15 +3052,13 @@ one is included in the list below.
30523052
* `--experimental-abortcontroller`
30533053
* `--experimental-async-context-frame`
30543054
* `--experimental-default-type`
3055-
* `--experimental-detect-module`
30563055
* `--experimental-eventsource`
30573056
* `--experimental-import-meta-resolve`
30583057
* `--experimental-json-modules`
30593058
* `--experimental-loader`
30603059
* `--experimental-modules`
30613060
* `--experimental-permission`
30623061
* `--experimental-print-required-tla`
3063-
* `--experimental-require-module`
30643062
* `--experimental-shadow-realm`
30653063
* `--experimental-specifier-resolution`
30663064
* `--experimental-sqlite`
@@ -3093,8 +3091,10 @@ one is included in the list below.
30933091
* `--network-family-autoselection-attempt-timeout`
30943092
* `--no-addons`
30953093
* `--no-deprecation`
3094+
* `--no-experimental-detect-module`
30963095
* `--no-experimental-global-navigator`
30973096
* `--no-experimental-repl-await`
3097+
* `--no-experimental-require-module`
30983098
* `--no-experimental-websocket`
30993099
* `--no-extra-info-on-fatal-exception`
31003100
* `--no-force-async-hooks-checks`

0 commit comments

Comments
 (0)