summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2013-01-14 18:19:37 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2013-01-14 18:19:37 (GMT)
commitc78d5fdca2b1c292baf472dce4478dd24519e391 (patch)
treeb8fd64203380ed7c9f34a92531ce3d643e0ce118 /utils
parent3f281f354248eb90694af82f344021f5c27e6f9f (diff)
downloadlibkolabxml-c78d5fdca2b1c292baf472dce4478dd24519e391.tar.gz
support file objects in kolabformatchecker.
Diffstat (limited to 'utils')
-rw-r--r--utils/kolabformatchecker.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/kolabformatchecker.cpp b/utils/kolabformatchecker.cpp
index fc7df21..da1ff63 100644
--- a/utils/kolabformatchecker.cpp
+++ b/utils/kolabformatchecker.cpp
@@ -38,6 +38,7 @@ int main(int argc, char *argv[])
("freebusy", "parse freebusy")
("note", "parse note")
("configuration", "parse configuration")
+ ("file", "parse file")
("input-file", po::value<std::vector<std::string> >(), "input files of given type")
;
@@ -81,6 +82,8 @@ int main(int argc, char *argv[])
Kolab::readNote(*it, true);
} else if (vm.count("configuration")) {
Kolab::readConfiguration(*it, true);
+ } else if (vm.count("file")) {
+ Kolab::readFile(*it, true);
} else {
cout << "Specify type";
return -1;