Branch 'files' - utils/kolabformatchecker.cpp
Christian Mollekopf
mollekopf at kolabsys.com
Mon Jan 14 19:19:44 CET 2013
utils/kolabformatchecker.cpp | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit c78d5fdca2b1c292baf472dce4478dd24519e391
Author: Christian Mollekopf <mollekopf at kolabsys.com>
Date: Mon Jan 14 19:19:37 2013 +0100
support file objects in kolabformatchecker.
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;
More information about the commits
mailing list