Skip to content

Commit b75bb94

Browse files
authored
Merge pull request #2232 from joto/warn-cache
Add warning when --cache is used in non-slim mode
2 parents a76ea12 + a57d79a commit b75bb94

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/command-line-parser.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,11 @@ void parse_expire_tiles_param(char const *arg, uint32_t *expire_tiles_zoom_min,
136136
void check_options_non_slim(CLI::App const &app)
137137
{
138138
std::vector<std::string> const slim_options = {
139-
"--middle-schema", "--middle-with-nodes",
140-
"--middle-way-node-index-id-shift", "--tablespace-slim-data",
139+
"--cache",
140+
"--middle-schema",
141+
"--middle-with-nodes",
142+
"--middle-way-node-index-id-shift",
143+
"--tablespace-slim-data",
141144
"--tablespace-slim-index"};
142145

143146
for (auto const &opt : slim_options) {

0 commit comments

Comments
 (0)