| 75 | } |
| 76 | |
| 77 | int main(int argc, char** argv) { |
| 78 | gflags::ParseCommandLineFlags(&argc, &argv, true); |
| 79 | |
| 80 | if (FLAGS_host.empty()) { |
| 81 | // For CI |
| 82 | std::cerr << "Must specify the Flight SQL server host with -host" << std::endl; |
| 83 | return EXIT_SUCCESS; |
| 84 | } |
| 85 | |
| 86 | auto status = Main(); |
| 87 | if (!status.ok()) { |
| 88 | std::cerr << status.ToString() << std::endl; |
| 89 | return EXIT_FAILURE; |
| 90 | } |
| 91 | return EXIT_SUCCESS; |
| 92 | } |