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