Commit ad1bc243 authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot

Fix the nested command line app test helper

Summary: D4719112 changed the signature of the constructor but didn't update this callsite...

Reviewed By: djwatson

Differential Revision: D4754745

fbshipit-source-id: ae538a3ffb64cdc211f23220ea5e0d7bb7eff9b3
parent 50167291
...@@ -41,7 +41,7 @@ void foo(const po::variables_map& options, ...@@ -41,7 +41,7 @@ void foo(const po::variables_map& options,
} // namespace } // namespace
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
folly::NestedCommandLineApp app("", "0.1", init); folly::NestedCommandLineApp app("", "0.1", "", "", init);
app.addGFlags(); app.addGFlags();
app.addCommand("foo", "[args...]", "Do some foo", "Does foo", foo) app.addCommand("foo", "[args...]", "Do some foo", "Does foo", foo)
.add_options() .add_options()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment