Skip to content

Commit

Permalink
Deshim ProgramOptions in folly
Browse files Browse the repository at this point in the history
Summary:
The following rules were deshimmed:
```
//folly/experimental:program_options -> //folly/cli:program_options
```

The following headers were deshimmed:
```
folly/experimental/NestedCommandLineApp.h -> folly/cli/NestedCommandLineApp.h
folly/experimental/ProgramOptions.h -> folly/cli/ProgramOptions.h
```

This is a codemod. It was automatically generated and will be landed once it is approved and tests are passing in sandcastle.
You have been added as a reviewer by Sentinel or Butterfly.

Reviewed By: Orvid

Differential Revision: D57395676

fbshipit-source-id: 92e1504a85766e097ca2731356efd5e08ced8ec1
  • Loading branch information
Gownta authored and facebook-github-bot committed May 16, 2024
1 parent 7997a1a commit eb58eb3
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions folly/cli/test/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cpp_unittest(
],
deps = [
"//folly:subprocess",
"//folly/experimental:program_options",
"//folly/cli:program_options",
"//folly/experimental/io:fs_util",
"//folly/portability:gtest",
],
Expand All @@ -28,7 +28,7 @@ cpp_binary(
srcs = ["NestedCommandLineAppTestHelper.cpp"],
headers = [],
deps = [
"//folly/experimental:program_options",
"//folly/cli:program_options",
"//folly/portability:gflags",
],
)
Expand All @@ -43,7 +43,7 @@ cpp_unittest(
deps = [
"//folly:file_util",
"//folly:subprocess",
"//folly/experimental:program_options",
"//folly/cli:program_options",
"//folly/experimental/io:fs_util",
"//folly/portability:gtest",
],
Expand All @@ -58,7 +58,7 @@ cpp_binary(
headers = [],
deps = [
"//folly:conv",
"//folly/experimental:program_options",
"//folly/cli:program_options",
],
external_deps = [
"glog",
Expand Down
2 changes: 1 addition & 1 deletion folly/cli/test/NestedCommandLineAppTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <folly/experimental/NestedCommandLineApp.h>
#include <folly/cli/NestedCommandLineApp.h>

#include <folly/Subprocess.h>
#include <folly/experimental/io/FsUtil.h>
Expand Down
2 changes: 1 addition & 1 deletion folly/cli/test/NestedCommandLineAppTestHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <folly/experimental/NestedCommandLineApp.h>
#include <folly/cli/NestedCommandLineApp.h>
#include <folly/portability/GFlags.h>

DEFINE_int32(global_foo, 42, "Global foo");
Expand Down
2 changes: 1 addition & 1 deletion folly/cli/test/ProgramOptionsTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <folly/experimental/ProgramOptions.h>
#include <folly/cli/ProgramOptions.h>

#include <folly/FileUtil.h>
#include <folly/Subprocess.h>
Expand Down
2 changes: 1 addition & 1 deletion folly/cli/test/ProgramOptionsTestHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <glog/logging.h>

#include <folly/Conv.h>
#include <folly/experimental/ProgramOptions.h>
#include <folly/cli/ProgramOptions.h>

DEFINE_bool(flag_bool_true, true, "Bool with true default value");
DEFINE_bool(flag_bool_false, false, "Bool with false default value");
Expand Down
2 changes: 1 addition & 1 deletion folly/experimental/test/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ cpp_binary(
deps = [
"//folly:scope_guard",
"//folly:string",
"//folly/experimental:program_options",
"//folly/cli:program_options",
],
)

Expand Down
4 changes: 2 additions & 2 deletions folly/experimental/test/NestedCommandLineAppExample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

#include <folly/ScopeGuard.h>
#include <folly/String.h>
#include <folly/experimental/NestedCommandLineApp.h>
#include <folly/experimental/ProgramOptions.h>
#include <folly/cli/NestedCommandLineApp.h>
#include <folly/cli/ProgramOptions.h>

namespace po = ::boost::program_options;

Expand Down

0 comments on commit eb58eb3

Please sign in to comment.