[GRASS-SVN] r51978 - grass/trunk/db/db.connect
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jun 5 12:54:12 PDT 2012
Author: martinl
Date: 2012-06-05 12:54:11 -0700 (Tue, 05 Jun 2012)
New Revision: 51978
Modified:
grass/trunk/db/db.connect/main.c
Log:
db.connect -p: print extra space after the colon
Modified: grass/trunk/db/db.connect/main.c
===================================================================
--- grass/trunk/db/db.connect/main.c 2012-06-05 18:21:07 UTC (rev 51977)
+++ grass/trunk/db/db.connect/main.c 2012-06-05 19:54:11 UTC (rev 51978)
@@ -109,13 +109,13 @@
if (print->answer) {
/* get and print connection */
if (db_get_connection(&conn) == DB_OK) {
- fprintf(stdout, "driver:%s\n",
+ fprintf(stdout, "driver: %s\n",
conn.driverName ? conn.driverName : "");
- fprintf(stdout, "database:%s\n",
+ fprintf(stdout, "database: %s\n",
conn.databaseName ? conn.databaseName : "");
- fprintf(stdout, "schema:%s\n",
+ fprintf(stdout, "schema: %s\n",
conn.schemaName ? conn.schemaName : "");
- fprintf(stdout, "group:%s\n", conn.group ? conn.group : "");
+ fprintf(stdout, "group: %s\n", conn.group ? conn.group : "");
}
else
G_fatal_error(_("Database connection not defined. "
More information about the grass-commit
mailing list