From 9cdfa407845990bb48997639b5552e3fc8c08b75 Mon Sep 17 00:00:00 2001 From: Connor Clark Date: Thu, 18 Oct 2018 11:38:02 -0700 Subject: [PATCH] cli(docs): update docs for --output-path re: multiple output types --- lighthouse-cli/cli-flags.js | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lighthouse-cli/cli-flags.js b/lighthouse-cli/cli-flags.js index f8a094fe046f..ebfc1f00b09d 100644 --- a/lighthouse-cli/cli-flags.js +++ b/lighthouse-cli/cli-flags.js @@ -111,7 +111,7 @@ function getFlags(manualArgv) { 'output-path': `The file path to output the results. Use 'stdout' to write to stdout. If using JSON output, default is stdout. If using HTML output, default is a file in the working directory with a name based on the test URL and date. - If using multiple outputs, --output-path is ignored. + If using multiple outputs, --output-path is appended with the standard extension for each output type. "reports/my-run" -> "reports/my-run.report.html", "reports/my-run.report.json", etc. Example: --output-path=./lighthouse-results.html`, 'view': 'Open HTML report in your browser', }) diff --git a/readme.md b/readme.md index 937f88d9af6d..520e11714713 100644 --- a/readme.md +++ b/readme.md @@ -76,7 +76,7 @@ Output: --output-path The file path to output the results. Use 'stdout' to write to stdout. If using JSON or CSV output, default is stdout. If using HTML output, default is a file in the working directory with a name based on the test URL and date. - If using multiple outputs, --output-path is ignored. + If using multiple outputs, --output-path is appended with the standard extension for each output type. "reports/my-run" -> "reports/my-run.report.html", "reports/my-run.report.json", etc. Example: --output-path=./lighthouse-results.html --view Open HTML report in your browser [boolean]