Browse files

2 minor changes:

* add created_by tag to get deleted in default style
* add notice that passwort can be specified via PGPASS
  environment variable to --help output

git-svn-id: b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
  • Loading branch information...
1 parent 8c21f8c commit 1b8b757d7becfe9f52e48d315999c1fae081a958 giggls committed Sep 2, 2011
Showing with 3 additions and 1 deletion.
  1. +1 −0
  2. +2 −1 osm2pgsql.c
@@ -26,6 +26,7 @@
# OsmType Tag DataType Flags
node,way note text delete # These tags can be long but are useless for rendering
node,way source text delete # This indicates that we shouldn't store them
+node,way created_by text delete
node,way access text linear
node,way addr:housename text linear
3 osm2pgsql.c
@@ -162,7 +162,8 @@ static void long_usage(char *arg0)
printf(" -S|--style\t\tLocation of the style file. Defaults to " OSM2PGSQL_DATADIR "/\n");
printf(" -C|--cache\t\tOnly for slim mode: Use upto this many MB for caching nodes\n");
printf(" \t\tDefault is 800\n");
- printf(" -U|--username\tPostgresql user name.\n");
+ printf(" -U|--username\tPostgresql user name\n");
+ printf(" \t\tpassword can be given by prompt or PGPASS environment variable.\n");
printf(" -W|--password\tForce password prompt.\n");
printf(" -H|--host\t\tDatabase server hostname or socket location.\n");
printf(" -P|--port\t\tDatabase server port.\n");

0 comments on commit 1b8b757

Please sign in to comment.