allow command to accept "--" separator
[folly.git] / folly / experimental / test / NestedCommandLineAppTestHelper.cpp
index e2dffec38df64ae2f5750ac9d0821a493529d036..a23e2d9c05e04942a141c94e4f93640115e0b833 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2015-present Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -38,10 +38,10 @@ void foo(const po::variables_map& options,
   }
 }
 
-}  // namespace
+} // 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()