Make 'help add' more explanatory
authorPallavi Sontakke <[email protected]>
Wed, 13 Apr 2016 05:38:46 +0000 (11:08 +0530)
committerPallavi Sontakke <[email protected]>
Wed, 13 Apr 2016 05:38:46 +0000 (11:08 +0530)
Help user to supply 'slave_name' in
'pgxc_ctl add gtm slave', different from others
where original node name is expected.

Fixes #85

contrib/pgxc_ctl/do_command.c

index 035400d3201350647090b9850b97fb725ec3d46a..d33eca8ca936c0c884e99d3096f72f1fd13ea853 100644 (file)
@@ -2665,7 +2665,7 @@ do_show_help(char *line)
        {
                printf(
                                "\n"
-                               "add gtm slave name host port dir\n"
+                               "add gtm slave slave_name host port dir\n"
                                "add gtm_proxy name host port dir\n"
                                "add coordinator master name host port pooler dir extra_conf extra_pghba\n"
                                "add coordinator slave name host port pooler dir archDir\n"