Skip to content

Commit bd7b444

Browse files
authored
Merge pull request #1553 from geofabrik/arg-prefix
Add -p (for --prefix) argument for osm2pgsql-replication too
2 parents b3a9b73 + f04896a commit bd7b444

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/osm2pgsql-replication.1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ how to use osm2pgsql\-replication.
3535
Download newly available data and apply it to the database.
3636
.SH OPTIONS 'osm2pgsql-replication init'
3737
usage: osm2pgsql-replication init [-h] [-q] [-v] [-d DB] [-U NAME] [-H HOST]
38-
[-P PORT] [--prefix PREFIX]
38+
[-P PORT] [-p PREFIX]
3939
[--osm-file FILE | --server URL]
4040

4141
Initialise the replication process.
@@ -93,7 +93,7 @@ Database server host name or socket location
9393
Database server port
9494

9595
.TP
96-
\fB\-\-prefix\fR PREFIX
96+
\fB\-p\fR PREFIX, \fB\-\-prefix\fR PREFIX
9797
Prefix for table names (default 'planet_osm')
9898

9999
.TP
@@ -174,7 +174,7 @@ Database server host name or socket location
174174
Database server port
175175

176176
.TP
177-
\fB\-\-prefix\fR PREFIX
177+
\fB\-p\fR PREFIX, \fB\-\-prefix\fR PREFIX
178178
Prefix for table names (default 'planet_osm')
179179

180180
.SH DISTRIBUTION

scripts/osm2pgsql-replication

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def get_parser():
300300
help='Database server host name or socket location')
301301
group.add_argument('-P', '--port', metavar='PORT',
302302
help='Database server port')
303-
group.add_argument('--prefix', metavar='PREFIX', default='planet_osm',
303+
group.add_argument('-p', '--prefix', metavar='PREFIX', default='planet_osm',
304304
help="Prefix for table names (default 'planet_osm')")
305305

306306
# Arguments for init

0 commit comments

Comments
 (0)