Skip to content

Commit 9c73e42

Browse files
committed
Rename locations-cache -> location-cache
1 parent c638499 commit 9c73e42

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
- Fixed pkg-config version of OSRM
1313
- Tools:
1414
- Because of boost/program_options#32 with boost 1.65+ we needed to change the behavior of the following flags to not accept `={true|false}` anymore:
15-
- `--use-location-cache=false` becomes `--disable-location-cache`
15+
- `--use-locations-cache=false` becomes `--disable-location-cache`
1616
- `--parse-conditional-restrictions=true` becomes `--parse-conditional-restrictions`
1717
- The deprecated options `--use-level-cache` and `--generate-edge-lookup`
1818
- Bugfixes:

features/options/extract/lua.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Feature: osrm-extract lua ways:get_nodes()
5151
| ab |
5252
And the data has been saved to disk
5353

54-
When I try to run "osrm-extract --profile {profile_file} {osm_file} --location-dependent-data test/data/regions/null-island.geojson --disable-locations-cache"
54+
When I try to run "osrm-extract --profile {profile_file} {osm_file} --location-dependent-data test/data/regions/null-island.geojson --disable-location-cache"
5555
Then it should exit with an error
5656
And stderr should contain "invalid location"
5757

@@ -79,7 +79,7 @@ Feature: osrm-extract lua ways:get_nodes()
7979
| ab |
8080
And the data has been saved to disk
8181

82-
When I run "osrm-extract --profile {profile_file} {osm_file} --location-dependent-data test/data/regions/null-island.geojson --disable-locations-cache"
82+
When I run "osrm-extract --profile {profile_file} {osm_file} --location-dependent-data test/data/regions/null-island.geojson --disable-location-cache"
8383
Then it should exit successfully
8484
And stdout should contain "answer 42"
8585
And stdout should contain "boolean true"
@@ -116,7 +116,7 @@ Feature: osrm-extract lua ways:get_nodes()
116116
| ef | Null Island |
117117
And the data has been saved to disk
118118

119-
When I run "osrm-extract --profile {profile_file} {osm_file} --location-dependent-data test/data/regions/null-island.geojson --location-dependent-data test/data/regions/hong-kong.geojson --disable-locations-cache"
119+
When I run "osrm-extract --profile {profile_file} {osm_file} --location-dependent-data test/data/regions/null-island.geojson --location-dependent-data test/data/regions/hong-kong.geojson --disable-location-cache"
120120
Then it should exit successfully
121121
And stdout should not contain "1 GeoJSON polygon"
122122
And stdout should contain "2 GeoJSON polygons"

src/tools/extract.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ return_code parseArguments(int argc,
6767
&extractor_config.location_dependent_data_paths)
6868
->composing(),
6969
"GeoJSON files with location-dependent data")(
70-
"disable-locations-cache",
70+
"disable-location-cache",
7171
boost::program_options::bool_switch(&extractor_config.use_locations_cache)
7272
->implicit_value(false)
7373
->default_value(true),

0 commit comments

Comments
 (0)