d84cf8
From de31f2b0cb09a59941892c9981cb8a8b3aced9ec Mon Sep 17 00:00:00 2001
d84cf8
From: kshithijiyer <kshithij.ki@gmail.com>
d84cf8
Date: Tue, 24 Dec 2019 13:02:21 +0530
d84cf8
Subject: [PATCH 407/449] [geo-rep] Improving help message in
d84cf8
 schedule_georep.py.in
d84cf8
d84cf8
SLAVE positional argument doesn't provide a clear
d84cf8
picture of what it is when compared to mastervol and slavevol
d84cf8
in schedule_georep.py.in. It would be better if we change it to
d84cf8
something like "Slave hostame (<username>@SLAVEHOST or SLAVEHOST)"
d84cf8
d84cf8
Present:
d84cf8
----------
d84cf8
positional arguments:
d84cf8
  mastervol            Master Volume Name
d84cf8
  SLAVE                SLAVEHOST or root@SLAVEHOST or user@SLAVEHOST
d84cf8
  slavevol             Slave Volume Name
d84cf8
d84cf8
Suggested:
d84cf8
-----------
d84cf8
positional arguments:
d84cf8
  mastervol            Master Volume Name
d84cf8
  SLAVE                Slave hostname (<username>@SLAVEHOST or SLAVEHOST)
d84cf8
  slavevol             Slave Volume Name
d84cf8
d84cf8
Backport of:
d84cf8
    >Upstream Patch: https://review.gluster.org/#/c/glusterfs/+/23919/
d84cf8
    >fixes: bz#1786276
d84cf8
    >Change-Id: I73d52247997d623f77d55e51cbb6eccc08eb95ff
d84cf8
    >Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
d84cf8
d84cf8
BUG: 1787994
d84cf8
Change-Id: I73d52247997d623f77d55e51cbb6eccc08eb95ff
d84cf8
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
d84cf8
Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
d84cf8
Reviewed-on: https://code.engineering.redhat.com/gerrit/202454
d84cf8
Tested-by: RHGS Build Bot <nigelb@redhat.com>
d84cf8
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
d84cf8
---
d84cf8
 extras/geo-rep/schedule_georep.py.in | 4 ++--
d84cf8
 1 file changed, 2 insertions(+), 2 deletions(-)
d84cf8
d84cf8
diff --git a/extras/geo-rep/schedule_georep.py.in b/extras/geo-rep/schedule_georep.py.in
d84cf8
index f29ae02..ac93716 100644
d84cf8
--- a/extras/geo-rep/schedule_georep.py.in
d84cf8
+++ b/extras/geo-rep/schedule_georep.py.in
d84cf8
@@ -459,8 +459,8 @@ if __name__ == "__main__":
d84cf8
                             description=__doc__)
d84cf8
     parser.add_argument("mastervol", help="Master Volume Name")
d84cf8
     parser.add_argument("slave",
d84cf8
-                        help="SLAVEHOST or root@SLAVEHOST "
d84cf8
-                        "or user@SLAVEHOST",
d84cf8
+                        help="Slave hostname "
d84cf8
+                        "(<username>@SLAVEHOST or SLAVEHOST)",
d84cf8
                         metavar="SLAVE")
d84cf8
     parser.add_argument("slavevol", help="Slave Volume Name")
d84cf8
     parser.add_argument("--interval", help="Interval in Seconds. "
d84cf8
-- 
d84cf8
1.8.3.1
d84cf8