From 823c988b482e609978869820758b7182f32e9de5 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Mon, 18 Feb 2019 14:01:12 -0500 Subject: [PATCH] report: remove verbose setting This commit removes the --diagnostic-report-verbose CLI option and all associated logic. The flag is currently only used in one place, and only reflects the settings at startup. Additionally, Node tends to use the NODE_DEBUG mechanism for adding verbose output. PR-URL: https://github.com/nodejs/node/pull/26195 Reviewed-By: Richard Lau Reviewed-By: Anna Henningsen Reviewed-By: Ruben Bridgewater --- doc/api/cli.md | 8 ---- doc/api/process.md | 5 --- doc/api/report.md | 11 +---- doc/node.1 | 5 --- lib/internal/process/report.js | 10 +---- src/node_options.cc | 10 ----- src/node_options.h | 1 - src/node_report_module.cc | 34 --------------- .../test-diagnostic-report-verbose.js | 43 ------------------- 9 files changed, 3 insertions(+), 124 deletions(-) delete mode 100644 test/node-report/test-diagnostic-report-verbose.js diff --git a/doc/api/cli.md b/doc/api/cli.md index 5e817eaa1da518..a4866e94d51e9c 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -126,13 +126,6 @@ Enables report to be generated on un-caught exceptions, if `--experimental-report` is enabled. Useful when inspecting JavaScript stack in conjunction with native stack and other runtime environment data. -### `--diagnostic-report-verbose` - - -Flag that enables additional information to be printed during report generation. - ### `--enable-fips`