Skip to content

Commit

Permalink
feat: typofix
Browse files Browse the repository at this point in the history
  • Loading branch information
hrenaud committed Nov 9, 2023
1 parent 41fbc6f commit 2de453d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lighthouse-plugin-ecoindex/bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ async function captureReport() {
default: false,
description: 'Use demo URLs.',
})
.option('urls', {
.option('url', {
alias: 'u',
type: 'array',
description: 'URLs to process. Comma separated.',
description: 'URL to process, supports multiple values',
})
.option('urls-file', {
alias: 'f',
Expand All @@ -151,7 +151,7 @@ async function captureReport() {
default: /** @type {const} */ (['html']),
coerce: coerceOutput,
description:
'Reporter for the results, supports multiple values. choices: "json", "html". Ex: json,html. WARN: "csv" is not avalailable with flow.',
'Reporter for the results, supports multiple values. choices: "json", "html". WARN: "csv" is not avalailable with flow.',
})
.epilogue(
'For more information on this Lighthouse Ecoindex script helper, see https://github.com/NovaGaia/lighthouse-plugin-ecoindex#readme',
Expand All @@ -163,7 +163,7 @@ async function captureReport() {
const outputPath = argv['output-path']
let outputModes = argv['output']
const extraHeader = argv['extra-header']
let urls = argv['urls']
let urls = argv['url']

if (!filePath && !urls && !isDemoMode) {
console.error(
Expand Down

0 comments on commit 2de453d

Please sign in to comment.