]> git.notmuchmail.org Git - notmuch/blobdiff - test/ghost-report.cc
emacs: Add new option notmuch-search-hide-excluded
[notmuch] / test / ghost-report.cc
index 3e1b07c60224777ad8d5f79c9d5a1427bbafffa8..9d9e7a7fca5f735b90ebd46bde1d3f6e67dd2db6 100644 (file)
@@ -2,13 +2,16 @@
 #include <cstdlib>
 #include <xapian.h>
 
-int main(int argc, char **argv) {
+int
+main (int argc, char **argv)
+{
 
     if (argc < 2) {
        std::cerr << "usage: ghost-report xapian-dir" << std::endl;
-       exit(1);
+       exit (1);
     }
 
-    Xapian::Database db(argv[1]);
-    std::cout << db.get_termfreq("Tghost") << std::endl;
+    Xapian::Database db (argv[1]);
+
+    std::cout << db.get_termfreq ("Tghost") << std::endl;
 }