Browse Source

fixed description

Gildas 7 years ago
parent
commit
4a21cf9d75
2 changed files with 3 additions and 2 deletions
  1. 1 1
      cli/single-file
  2. 2 1
      maff2html/single-file

+ 1 - 1
cli/single-file

@@ -79,7 +79,7 @@ const args = require("yargs")
 	.choices("browser-wait-until", ["networkidle0", "networkidle2", "load", "domcontentloaded"])
 	.options("browser-debug", { description: "Enable debug mode (puppeteer, webdriver-gecko, webdriver-chromium)" })
 	.boolean("browser-debug")
-	.options("browser-extensions", { description: "Extension paths separated by a space (webdriver-gecko, webdriver-chromium)" })
+	.options("browser-extensions", { description: "List of extension paths separated by a space and relative to cli folder (webdriver-gecko, webdriver-chromium)" })
 	.array("browser-extensions")
 	.options("compress-CSS", { description: "Compress CSS stylesheets" })
 	.boolean("compress-CSS")

+ 2 - 1
maff2html/single-file

@@ -40,6 +40,7 @@ const args = require("yargs")
 		"browser-wait-until": "load",
 		"browser-debug": false,
 		"browser-extensions": [],
+		"browser-scripts": [],
 		"compress-CSS": true,
 		"compress-HTML": true,
 		"filename-template": "",
@@ -75,7 +76,7 @@ const args = require("yargs")
 	.choices("browser-wait-until", ["networkidle0", "networkidle2", "load", "domcontentloaded"])
 	.options("browser-debug", { description: "Enable debug mode" })
 	.boolean("browser-debug")
-	.options("browser-extensions", { description: "Extension paths separated by a space" })
+	.options("browser-extensions", { description: "List of extension paths separated by a space and relative to maff2html folder" })
 	.array("browser-extensions")
 	.options("compress-CSS", { description: "Compress CSS stylesheets" })
 	.boolean("compress-CSS")