Skip to content

Commit 900e397

Browse files
AshCrippsAshCripps
authored andcommitted
src: correct diagnostic-dir doc links
1 parent 57e0028 commit 900e397

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

doc/api/cli.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Specify the directory where the CPU profiles generated by `--cpu-prof` will
109109
be placed.
110110

111111
The default value is controlled by the
112-
[--diagnostic-dir](#--diagnostic-dir=directory) command line option.
112+
[--diagnostic-dir](#cli_diagnostic_dir_directory) command line option.
113113

114114
### `--cpu-prof-interval`
115115
<!-- YAML
@@ -136,9 +136,9 @@ Set the directory to which all diagnostic output files will be written to.
136136
Defaults to current working directory.
137137

138138
Affects the default output directory of:
139-
* [--cpu-prof-dir](#--cpu-prof-dir)
140-
* [--heap-prof-dir](#--heap-prof-dir)
141-
* [--redirect-warnings](#--redirect-warnings=file)
139+
* [--cpu-prof-dir](#cli_cpu_prof_dir)
140+
* [--heap-prof-dir](#cli_heap_prof_dir)
141+
* [--redirect-warnings](#cli_redirect_warnings_file)
142142

143143
### `--disable-proto=mode`
144144
<!-- YAML
@@ -374,7 +374,7 @@ Specify the directory where the heap profiles generated by `--heap-prof` will
374374
be placed.
375375

376376
The default value is controlled by the
377-
[--diagnostic-dir](#--diagnostic-dir=directory) command line option.
377+
[--diagnostic-dir](#cli_diagnostic_dir_directory) command line option.
378378

379379
### `--heap-prof-interval`
380380
<!-- YAML
@@ -658,7 +658,7 @@ warning will be written to stderr instead.
658658

659659
The `file` name may be an absolute path. If it is not, the default directory it
660660
will be written to is controlled by the
661-
[--diagnostic-dir](#--diagnostic-dir=directory) command line option.
661+
[--diagnostic-dir](#cli_diagnostic_dir_directory) command line option.
662662

663663
### `--report-compact`
664664
<!-- YAML

src/node_options.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ DebugOptionsParser::DebugOptionsParser() {
281281
}
282282

283283
EnvironmentOptionsParser::EnvironmentOptionsParser() {
284-
AddOption("--diagnostic-dir",
284+
AddOption("--diagnostic-dir",
285285
"set dir for all output files"
286286
" (default: current working directory)",
287287
&EnvironmentOptions::diagnostic_dir,

0 commit comments

Comments
 (0)