Skip to content

Commit

Permalink
src: correct diagnostic-dir doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
AshCripps authored and AshCripps committed Jul 14, 2020
1 parent 57e0028 commit 900e397
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions doc/api/cli.md
Expand Up @@ -109,7 +109,7 @@ Specify the directory where the CPU profiles generated by `--cpu-prof` will
be placed.

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

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

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

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

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

### `--heap-prof-interval`
<!-- YAML
Expand Down Expand Up @@ -658,7 +658,7 @@ warning will be written to stderr instead.

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

### `--report-compact`
<!-- YAML
Expand Down
2 changes: 1 addition & 1 deletion src/node_options.cc
Expand Up @@ -281,7 +281,7 @@ DebugOptionsParser::DebugOptionsParser() {
}

EnvironmentOptionsParser::EnvironmentOptionsParser() {
AddOption("--diagnostic-dir",
AddOption("--diagnostic-dir",
"set dir for all output files"
" (default: current working directory)",
&EnvironmentOptions::diagnostic_dir,
Expand Down

0 comments on commit 900e397

Please sign in to comment.