rename osrm_input_path to osrm_path, clang-format

This commit is contained in:
Pepijn Schoen
2017-05-05 10:23:09 +02:00
committed by Daniel J. H
parent 1b31099f73
commit 67fae1d1f0
11 changed files with 52 additions and 58 deletions
+3 -3
View File
@@ -72,7 +72,7 @@ parseArguments(int argc, char *argv[], customizer::CustomizationConfig &customiz
boost::program_options::options_description hidden_options("Hidden options");
hidden_options.add_options()(
"input,i",
boost::program_options::value<boost::filesystem::path>(&customization_config.osrm_input_path),
boost::program_options::value<boost::filesystem::path>(&customization_config.osrm_path),
"Input file in .osrm format");
// positional option
@@ -153,9 +153,9 @@ int main(int argc, char *argv[]) try
return EXIT_FAILURE;
}
if (!boost::filesystem::is_regular_file(customization_config.osrm_input_path))
if (!boost::filesystem::is_regular_file(customization_config.osrm_path))
{
util::Log(logERROR) << "Input file " << customization_config.osrm_input_path.string()
util::Log(logERROR) << "Input file " << customization_config.osrm_path.string()
<< " not found!";
return EXIT_FAILURE;
}