parse args for -json flag
authorDavid Callahan <dcallahan@fb.com>
Tue, 5 Jan 2016 19:38:11 +0000 (11:38 -0800)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Tue, 5 Jan 2016 20:20:22 +0000 (12:20 -0800)
Reviewed By: lbrandy

Differential Revision: D2803778

fb-gh-sync-id: 0cb21413bb1c78d256b4408322f8d585f53cb0ac

folly/experimental/test/StringKeyedBenchmark.cpp

index a8b9f5424a0a76a71614140d80b195af08075f1a..899e6e2fa965bf45b35c5aae99c6ae5015d8f741 100644 (file)
@@ -139,6 +139,7 @@ BENCHMARK_RELATIVE(sk_unordered_set_benchmark_erase_emplace) {
 }
 
 int main(int argc, char **argv) {
+  gflags::ParseCommandLineFlags(&argc, &argv, true);
   initBenchmarks();
   folly::runBenchmarks();
 }