PO::notify(vm);
- if (vm.count("help") || !vm.count("input"))
- {
- std::cout << "Usage: yamml [<options>...] <input_file> [<output_file>]\n\n";
- std::cout << visibleOptions << std::endl;
- return 0;
- }
-
if (vm.count("version"))
{
#if YAMML_VERSION_DATE + 0
return 0;
}
+ if (vm.count("help") || !vm.count("input"))
+ {
+ std::cout << "Usage: yamml [<options>...] <input_file> [<output_file>]\n\n";
+ std::cout << visibleOptions << std::endl;
+ return 0;
+ }
+
auto pStdErrWriter = YAMML::Driver::CreateStdErrWriter();
auto inputName = vm["input"].as<std::string>();