summaryrefslogtreecommitdiff
path: root/src/cli
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-15 23:23:54 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-15 23:23:54 +0100
commit395bfc196b5946acfee774f64ad7355610d20485 (patch)
tree0280e7ecbdf24037abd705c42b8ff220b62c5fde /src/cli
parent1b033795a1780639c1c289524d2ef9ac3e36659d (diff)
Determine mimetype automatically
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/Main.cpp2
1 files changed, 1 insertions, 1 deletions
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<Node> docNode = context.import(inputPath, "text/vnd.ousia.oxd", "",
+ Rooted<Node> docNode = context.import(inputPath, "", "",
{&RttiTypes::Document});
if (logger.hasError() || docNode == nullptr) {
logger.fatalError("Errors occured while parsing the document");