Only show 1st vs 3rd summary in HTML output if it has data and show default storage location for HTML ouput in help menu (#976)
This commit is contained in:
parent
1da1bd2ad7
commit
feb1098dad
|
|
@ -42,7 +42,7 @@ h3 Requests and sizes per content type
|
|||
+sizeCell('contentSize', totalContentSize)
|
||||
+numberCell('requests', totalRequests)
|
||||
|
||||
if pagexray.firstParty
|
||||
if pagexray.firstParty.requests
|
||||
h3 First Party vs Third Party
|
||||
.responsive
|
||||
table
|
||||
|
|
|
|||
|
|
@ -243,7 +243,8 @@ module.exports.parseCommandLine = function parseCommandLine() {
|
|||
describe: 'Where you have your extra post tasks that will run after each URL is analyzed NOT YET IMPLEMENTED'
|
||||
})
|
||||
.option('outputFolder', {
|
||||
describe: 'The folder name where the result will be stored. By default the name is generated using current_date/domain/filename'
|
||||
describe: 'The folder name where the result will be stored. By default the name is generated using current_date/domain/filename',
|
||||
default: 'sitespeed-result'
|
||||
})
|
||||
.option('firstParty', {
|
||||
describe: 'A regex running against each request and categorize it as first vs third party URL. (ex: ".*sitespeed.*")'
|
||||
|
|
|
|||
Loading…
Reference in New Issue