rename osrm_input_path to osrm_path, clang-format
This commit is contained in:
committed by
Daniel J. H
parent
1b31099f73
commit
67fae1d1f0
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user