Fix the nested command line app test helper
authorChristopher Dykes <cdykes@fb.com>
Wed, 22 Mar 2017 18:04:04 +0000 (11:04 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 22 Mar 2017 18:07:31 +0000 (11:07 -0700)
Summary: D4719112 changed the signature of the constructor but didn't update this callsite...

Reviewed By: djwatson

Differential Revision: D4754745

fbshipit-source-id: ae538a3ffb64cdc211f23220ea5e0d7bb7eff9b3

folly/experimental/test/NestedCommandLineAppTestHelper.cpp

index abfcb7b6e0d7b77123cc17c9bc8e6a62bf47daa0..da404613087679d2faf864511c93655ef83e0c23 100644 (file)
@@ -41,7 +41,7 @@ void foo(const po::variables_map& options,
 }  // namespace
 
 int main(int argc, char *argv[]) {
-  folly::NestedCommandLineApp app("", "0.1", init);
+  folly::NestedCommandLineApp app("", "0.1", "", "", init);
   app.addGFlags();
   app.addCommand("foo", "[args...]", "Do some foo", "Does foo", foo)
     .add_options()