allow command to accept "--" separator
authorAlvaro Leiva Geisse <aleivag@fb.com>
Mon, 15 Jan 2018 22:07:55 +0000 (14:07 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 15 Jan 2018 22:33:10 +0000 (14:33 -0800)
commitd7b6ad4972b288f90bf57d7597103c44c244decd
treefe9b29c175a6478776a214ed1940e09552be2505
parentcd1bdc912603c0358ba733d379a74ae90ab3a437
allow command to accept "--" separator

Summary:
Currently NestedCommandLineApp does not support `--` to indicate that the following arguments should be parsed as arguments, not nested commands or options.
This diff fix that by whitelisting any argument given after "--"

Reviewed By: yfeldblum

Differential Revision: D6721144

fbshipit-source-id: 38a850b6ea803dc758c5fe65a21575e5faeac35b
folly/experimental/NestedCommandLineApp.cpp
folly/experimental/test/NestedCommandLineAppTest.cpp