bdr: Small usage tip for bdr_init_copy
authorCraig Ringer <craig@2ndquadrant.com>
Wed, 2 Jul 2014 05:57:26 +0000 (13:57 +0800)
committerAndres Freund <andres@anarazel.de>
Mon, 8 Sep 2014 15:49:52 +0000 (17:49 +0200)
bdr_init_copy.c

index ad978e758cf1c4214d29398c93036697d5a75ad0..f233e3cf160440bd0a40e534fcac748f5d411db4 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"));