Skip to content

Commit 67b06a8

Browse files
authored
Merge pull request #2168 from joto/remove-cache-strategy-option
Remove --cache-strategy option
2 parents 2f35de5 + 762ec1f commit 67b06a8

File tree

3 files changed

+0
-21
lines changed

3 files changed

+0
-21
lines changed

man/osm2pgsql.1

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,6 @@ It needs at least the amount of \f[V]shared_buffers\f[R] given in its
165165
configuration.
166166
Defaults to 800.
167167
.TP
168-
--cache-strategy=STRATEGY
169-
This deprecated option will be ignored.
170-
.TP
171168
-x, --extra-attributes
172169
Include attributes of each object in the middle tables and make them
173170
available to the outputs.

man/osm2pgsql.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,6 @@ mandatory for short options too.
149149
It needs at least the amount of `shared_buffers` given in its configuration.
150150
Defaults to 800.
151151

152-
\--cache-strategy=STRATEGY
153-
: This deprecated option will be ignored.
154-
155152
-x, \--extra-attributes
156153
: Include attributes of each object in the middle tables and make them
157154
available to the outputs. Attributes are: user name, user id, changeset id,

src/command-line-parser.cpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -619,21 +619,6 @@ options_t parse_command_line(int argc, char *argv[])
619619
->option_text("TBLSPC")
620620
->group("Tablespace options");
621621

622-
// ----------------------------------------------------------------------
623-
// Deprecated options
624-
// ----------------------------------------------------------------------
625-
626-
// --cache-strategy
627-
app.add_option_function<std::string>(
628-
"--cache-strategy",
629-
[&](std::string const &) {
630-
log_warn("Deprecated option --cache-strategy ignored");
631-
})
632-
->description(
633-
"The option has been removed and only a warning is printed.")
634-
->option_text("TYPE")
635-
->group("Deprecated options");
636-
637622
try {
638623
app.parse(argc, argv);
639624
} catch (...) {

0 commit comments

Comments
 (0)