aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mammoth6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/mammoth b/bin/mammoth
index 16515f1..b802dfb 100755
--- a/bin/mammoth
+++ b/bin/mammoth
@@ -10,7 +10,11 @@ var args = require("nomnom")
.option("output-path", {
position: 1,
type: "string",
- help: "Output path for the generated HTML. Output is written to stdout if not set."
+ help: "Output path for the generated HTML. Images will be stored inline in the HTML. Output is written to stdout if not set."
+ })
+ .option("output-dir", {
+ type: "string",
+ help: "Output directory for generated HTML and images. Images will be stored in separate files. Takes precedence over output-path."
})
.parse();
var main = require("../lib/main");