bdr: Small usage tip for bdr_init_copy
authorCraig Ringer <[email protected]>
Wed, 2 Jul 2014 05:57:26 +0000 (13:57 +0800)
committerAndres Freund <[email protected]>
Thu, 3 Jul 2014 15:55:41 +0000 (17:55 +0200)
contrib/bdr/bdr_init_copy.c

index 4c64397ef628da0734f1b3242960dc8c3e139999..bbecd51aa0dfd511a183b48f64a6ca527db73d19 100644 (file)
@@ -259,6 +259,8 @@ static void
 usage(void)
 {
    printf(_("%s initializes bdr from PostgreSQL instance made using pg_basebackup.\n\n"), progname);
+   printf(_("pg_basebackup -X stream must be used to populate the data directory before\n"));
+   printf(_("running %s to initialize BDR on it.\n\n"), progname);
    printf(_("Usage:\n"));
    printf(_("  %s [OPTION]...\n"), progname);
    printf(_("\nGeneral options:\n"));