From 395bfc196b5946acfee774f64ad7355610d20485 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sun, 15 Feb 2015 23:23:54 +0100 Subject: Determine mimetype automatically --- src/cli/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/Main.cpp b/src/cli/Main.cpp index 2658851..cbe7578 100644 --- a/src/cli/Main.cpp +++ b/src/cli/Main.cpp @@ -236,7 +236,7 @@ int main(int argc, char **argv) } // now all preparation is done and we can parse the input document. - Rooted docNode = context.import(inputPath, "text/vnd.ousia.oxd", "", + Rooted docNode = context.import(inputPath, "", "", {&RttiTypes::Document}); if (logger.hasError() || docNode == nullptr) { logger.fatalError("Errors occured while parsing the document"); -- cgit v1.2.3