Revert "Typo in bdr_init_copy help information"
authorMartín Marqués <martin@2ndquadrant.com>
Wed, 22 Apr 2015 18:48:03 +0000 (15:48 -0300)
committerMartín Marqués <martin@2ndquadrant.com>
Wed, 22 Apr 2015 18:48:03 +0000 (15:48 -0300)
There was an unintended change in the commit

This reverts commit 1064034c898e98b210a8d87f4a65aa2c05d6666b.

bdr_init_copy.c

index a92603c12e8e969558b11c5a0902b508f3eb756d..f7260715ed2b1f05e17ce95430e6f9d0891edd4f 100644 (file)
@@ -500,7 +500,7 @@ usage(void)
    printf(_("Usage:\n"));
    printf(_("  %s [OPTION]...\n"), progname);
    printf(_("\nGeneral options:\n"));
-   printf(_("  -D, --pgdata=DIRECTORY data directory to be used for new node,\n"));
+   printf(_("  -D, --pgdata=DIRECTORY data directory to be used for new nodem,\n"));
    printf(_("                         can be either empty/non-existing directory,\n"));
    printf(_("                         or directory populated using pg_basebackup -X stream\n"));
    printf(_("                         command\n"));
@@ -1334,7 +1334,7 @@ appendPQExpBufferConnstrValue(PQExpBuffer buf, const char *str)
    for (s = str; *s; s++)
    {
        if (!((*s >= 'a' && *s <= 'z') || (*s >= 'A' && *s <= 'Z') ||
-             (*s >= '0' && *s <= '9') || *s == '_' || *s == '.' || *s == '-'))
+             (*s >= '0' && *s <= '9') || *s == '_' || *s == '.'))
        {
            needquotes = true;
            break;