basename -> filename, fixes #2027

This commit is contained in:
Patrick Niklaus
2016-04-08 01:50:25 +02:00
parent 6033c05ff0
commit dea12779cf
5 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ generateServerProgramOptions(const int argc,
const auto* executable = argv[0];
boost::program_options::options_description visible_options(
boost::filesystem::path(executable).stem().string() + " <base.osrm> [<options>]");
boost::filesystem::path(executable).filename().string() + " <base.osrm> [<options>]");
visible_options.add(generic_options).add(config_options);
// parse command line options