|
|
@@ -54,6 +54,7 @@ const args = require("yargs")
|
|
|
"filename-template": "{page-title} ({date-iso} {time-locale}).html",
|
|
|
"filename-conflict-action": "uniquify",
|
|
|
"filename-replacement-character": "_",
|
|
|
+ "filename-max-length": 192,
|
|
|
"group-duplicate-images": true,
|
|
|
"http-header": [],
|
|
|
"include-infobar": false,
|
|
|
@@ -159,7 +160,8 @@ const args = require("yargs")
|
|
|
.string("filename-conflict-action")
|
|
|
.options("filename-replacement-character", { description: "The character used for replacing invalid characters in filenames" })
|
|
|
.string("filename-replacement-character")
|
|
|
- .string("filename-replacement-character")
|
|
|
+ .options("filename-max-length", { description: "Specify the maximum length in bytes of the filename " })
|
|
|
+ .string("filename-max-length")
|
|
|
.options("group-duplicate-images", { description: "Group duplicate images into CSS custom properties" })
|
|
|
.boolean("group-duplicate-images")
|
|
|
.options("http-header", { description: "Extra HTTP header (puppeteer, jsdom)" })
|