Skip to content

Commit

Permalink
Merge pull request #443 from mmd-osm/patch/cleanup25
Browse files Browse the repository at this point in the history
Remove obsolete --readonly command line parameter
  • Loading branch information
mmd-osm authored Aug 12, 2024
2 parents 60a55f4 + f328d2f commit 8d81820
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions openstreetmap-cgimap.1
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ openstreetmap-cgimap \- FCGI version of the OpenStreetMap API
[\fB\-\-username \fIUSER\fR]
[\fB\-\-password \fIPASS\fR]
[\fB\-\-charset \fICHARSET\fR]
[\fB\-\-readonly\fR]
[\fB\-\-cachesize \fISIZE\fR]
[\fB\-\-dbport \fIPORT\fR]
] [
Expand Down Expand Up @@ -98,9 +97,6 @@ Database password.
Database character set.
Default is utf8.
.TP
.BR \-\-readonly
Use the database in read-only mode.
.TP
.BR \-\-cachesize =\fISIZE\fR
Maximum size of changeset cache.
Default is 1000.
Expand Down
1 change: 0 additions & 1 deletion src/backend/apidb/apidb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ struct apidb_backend : public backend {
("password", po::value<string>(), "database password")
("charset", po::value<string>()->default_value("utf8"),
"database character set")
("readonly", "(obsolete parameter, read only backend is always assumed)")
("disable-api-write", "disable API write operations")
("dbport", po::value<string>(),
"database port number or UNIX socket file name")
Expand Down

0 comments on commit 8d81820

Please sign in to comment.