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:
Jonathan Lee 2016-06-05 04:26:45 -04:00 committed by Peter Hedenskog
parent 1da1bd2ad7
commit feb1098dad
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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.*")'