diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-12-21 15:01:36 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-12-21 15:01:36 +0000 |
commit | da8945a802f42e8c6bb50c2a372d37771015114e (patch) | |
tree | 8d1b29f4004ef5c75cbdbe3985fea6d81287c7ff | |
parent | Forbid templates in type_names helper (diff) | |
download | icespider-da8945a802f42e8c6bb50c2a372d37771015114e.tar.bz2 icespider-da8945a802f42e8c6bb50c2a372d37771015114e.tar.xz icespider-da8945a802f42e8c6bb50c2a372d37771015114e.zip |
Don't format program options
-rw-r--r-- | icespider/compile/main.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/icespider/compile/main.cpp b/icespider/compile/main.cpp index 804141b..5796bae 100644 --- a/icespider/compile/main.cpp +++ b/icespider/compile/main.cpp @@ -10,9 +10,14 @@ main(int c, char ** v) IceSpider::Compile::RouteCompiler rc; std::filesystem::path input, output; po::options_description opts("IceSpider compile options"); - opts.add_options()("input", po::value(&input), "Input .json file")("output", po::value(&output), - "Output .cpp file")("include,I", po::value(&rc.searchPath)->composing(), "Search path")( - "help,h", po::value(&showHelp)->default_value(false)->zero_tokens(), "Help"); + // clang-format off + opts.add_options() + ("input", po::value(&input), "Input .json file") + ("output", po::value(&output), "Output .cpp file") + ("include,I", po::value(&rc.searchPath)->composing(), "Search path") + ("help,h", po::value(&showHelp)->default_value(false)->zero_tokens(), "Help") + ; + // clang-format on po::positional_options_description pod; pod.add("input", 1).add("output", 2); po::variables_map vm; |