66 * Portions Copyright (c) 1994, Regents of the University of California
77 *
88 *
9- * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.95 2007/11/0712:24:24 petere Exp $
9+ * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.96 2007/11/0713:11:05 petere Exp $
1010 *
1111 *-------------------------------------------------------------------------
1212 */
@@ -329,7 +329,7 @@ main(int argc, char *argv[])
329329/* Make sure the user hasn't specified a mix of globals-only options */
330330if (globals_only && roles_only )
331331{
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" ),
333333progname );
334334fprintf (stderr ,_ ("Try \"%s --help\" for more information.\n" ),
335335progname );
@@ -338,7 +338,7 @@ main(int argc, char *argv[])
338338
339339if (globals_only && tablespaces_only )
340340{
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" ),
342342progname );
343343fprintf (stderr ,_ ("Try \"%s --help\" for more information.\n" ),
344344progname );
@@ -347,7 +347,7 @@ main(int argc, char *argv[])
347347
348348if (roles_only && tablespaces_only )
349349{
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" ),
351351progname );
352352fprintf (stderr ,_ ("Try \"%s --help\" for more information.\n" ),
353353progname );
@@ -382,7 +382,8 @@ main(int argc, char *argv[])
382382
383383if (!conn )
384384{
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" ),
386387progname );
387388fprintf (stderr ,_ ("Try \"%s --help\" for more information.\n" ),
388389progname );