diff options
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/mammoth | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/mammoth b/bin/mammoth index 1bc0c27..72d2af0 100755 --- a/bin/mammoth +++ b/bin/mammoth @@ -10,12 +10,17 @@ var args = require("nomnom") .option("output-path", { position: 1, type: "string", - help: "Output path for the generated HTML. Images will be stored inline in the HTML. Output is written to stdout if not set." + help: "Output path for the generated document. Images will be stored inline in the output document. 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." }) + .option("output-format", { + default: "html", + choices: ["html", "markdown"], + help: "Output format." + }) .option("style-map", { type: "string", help: "File containg a style map." |
