Parcourir la source

hide background-save option

Gildas il y a 5 ans
Parent
commit
3377748e81
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      cli/args.js

+ 1 - 1
cli/args.js

@@ -30,7 +30,6 @@ const args = require("yargs")
 		yargs.positional("output", { description: "Output filename", type: "string" });
 		yargs.positional("output", { description: "Output filename", type: "string" });
 	})
 	})
 	.default({
 	.default({
-		"background-save": true,
 		"back-end": "puppeteer",
 		"back-end": "puppeteer",
 		"browser-headless": true,
 		"browser-headless": true,
 		"browser-executable-path": "",
 		"browser-executable-path": "",
@@ -201,6 +200,7 @@ const args = require("yargs")
 	.options("output-directory", { description: "Path to where to save files, this path must exist." })
 	.options("output-directory", { description: "Path to where to save files, this path must exist." })
 	.string("output-directory")
 	.string("output-directory")
 	.argv;
 	.argv;
+args.backgroundSave = true;
 args.compressCSS = args.compressCss;
 args.compressCSS = args.compressCss;
 args.compressHTML = args.compressHtml;
 args.compressHTML = args.compressHtml;
 args.includeBOM = args.includeBom;
 args.includeBOM = args.includeBom;