summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/main.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 815ca67..1df8f29 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -17,9 +17,12 @@ main(int argc, char ** argv)
uint64_t sourceid {};
bool help {};
po::options_description opts("MyGrate");
- opts.add_options()("postgresql,p", po::value(&pgconn)->required(), "Target PostgreSQL connection string")(
- "sourceid,s", po::value(&sourceid)->default_value(1), "Source identifier")("help,h",
- po::value(&help)->zero_tokens(), "Help");
+ // clang-format off
+ opts.add_options()
+ ("postgresql,p", po::value(&pgconn)->required(), "Target PostgreSQL connection string")
+ ("sourceid,s", po::value(&sourceid)->default_value(1), "Source identifier")
+ ("help,h", po::value(&help)->zero_tokens(), "Help");
+ // clang-format on
po::variables_map vm;
po::store(po::command_line_parser(argc, argv).options(opts).run(), vm);