6
6
* Portions Copyright (c) 1994, Regents of the University of California
7
7
*
8
8
*
9
- * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.95 2007/11/07 12:24:24 petere Exp $
9
+ * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.96 2007/11/07 13:11:05 petere Exp $
10
10
*
11
11
*-------------------------------------------------------------------------
12
12
*/
@@ -329,7 +329,7 @@ main(int argc, char *argv[])
329
329
/* Make sure the user hasn't specified a mix of globals-only options */
330
330
if (globals_only && roles_only )
331
331
{
332
- fprintf (stderr , _ ("%s: -- globals-only and --roles-only cannot be used together\n" ),
332
+ fprintf (stderr , _ ("%s: options -g/-- globals-only and -r/ --roles-only cannot be used together\n" ),
333
333
progname );
334
334
fprintf (stderr , _ ("Try \"%s --help\" for more information.\n" ),
335
335
progname );
@@ -338,7 +338,7 @@ main(int argc, char *argv[])
338
338
339
339
if (globals_only && tablespaces_only )
340
340
{
341
- fprintf (stderr , _ ("%s: -- globals-only and --tablespaces-only cannot be used together\n" ),
341
+ fprintf (stderr , _ ("%s: options -g/-- globals-only and -t/ --tablespaces-only cannot be used together\n" ),
342
342
progname );
343
343
fprintf (stderr , _ ("Try \"%s --help\" for more information.\n" ),
344
344
progname );
@@ -347,7 +347,7 @@ main(int argc, char *argv[])
347
347
348
348
if (roles_only && tablespaces_only )
349
349
{
350
- fprintf (stderr , _ ("%s: -- roles-only and --tablespaces-only cannot be used together\n" ),
350
+ fprintf (stderr , _ ("%s: options -r/-- roles-only and -t/ --tablespaces-only cannot be used together\n" ),
351
351
progname );
352
352
fprintf (stderr , _ ("Try \"%s --help\" for more information.\n" ),
353
353
progname );
@@ -382,7 +382,8 @@ main(int argc, char *argv[])
382
382
383
383
if (!conn )
384
384
{
385
- fprintf (stderr , _ ("%s: could not connect to databases \"postgres\" or \"template1\". Please specify an alternative database\n" ),
385
+ fprintf (stderr , _ ("%s: could not connect to databases \"postgres\" or \"template1\"\n"
386
+ "Please specify an alternative database.\n" ),
386
387
progname );
387
388
fprintf (stderr , _ ("Try \"%s --help\" for more information.\n" ),
388
389
progname );
0 commit comments