We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2019595 commit 504ea95Copy full SHA for 504ea95
lighthouse-cli/index.js
@@ -31,7 +31,7 @@ const log = require('../lighthouse-core/lib/log');
31
32
const cli = yargs
33
.help('help')
34
- .version()
+ .version(() => require('../package').version)
35
.showHelpOnFail(false, 'Specify --help for available options')
36
37
.usage('$0 url')
@@ -85,8 +85,7 @@ Example: --output-path=./lighthouse-results.html`
85
'list-trace-categories',
86
'verbose',
87
'quiet',
88
- 'help',
89
- 'version'
+ 'help'
90
])
91
92
.choices('output', Object.values(Printer.OUTPUT_MODE))
0 commit comments