parse args for -json flag
authorDavid Callahan <dcallahan@fb.com>
Wed, 6 Jan 2016 04:27:15 +0000 (20:27 -0800)
committerfacebook-github-bot-0 <folly-bot@fb.com>
Wed, 6 Jan 2016 05:20:24 +0000 (21:20 -0800)
Reviewed By: yfeldblum

Differential Revision: D2803911

fb-gh-sync-id: 65023cae7fd8e06c30fed100826b4b834ee2e9b1

folly/test/FingerprintBenchmark.cpp

index ab93722a7c33d23c7b0db66174813da026202035..301706dfae5f774fd1dfe7d9230139c0c8da00c1 100644 (file)
@@ -124,6 +124,7 @@ void fastFingerprintTerms128(int num_iterations, int num_ids) {
 // the benchmark without providing any useful data.
 
 int main(int argc, char** argv) {
+  gflags::ParseCommandLineFlags(&argc, &argv, true);
   # define BM(name, min, max) \
   for (size_t i = min; i <= max; i *= 2) { \
     addBenchmark( \