diff options
author | kshithijiyer <kshithij.ki@gmail.com> | 2019-12-24 13:02:21 +0530 |
---|---|---|
committer | Kshithij Iyer <kiyer@redhat.com> | 2020-01-04 12:26:24 +0000 |
commit | f805eb110081783690d29ffe2d80405a9ba6191c (patch) | |
tree | 84d66caae2916339be3a68bb183bb4af2a64ab46 /extras | |
parent | 59ed165a60a58db62a67a9d9fbe75d8338e5ddeb (diff) |
[geo-rep] Improving help message in schedule_georep.py.in
SLAVE positional argument doesn't provide a clear
picture of what it is when compared to mastervol and slavevol
in schedule_georep.py.in. It would be better if we change it to
something like "Slave hostame (<username>@SLAVEHOST or SLAVEHOST)"
Present:
----------
positional arguments:
mastervol Master Volume Name
SLAVE SLAVEHOST or root@SLAVEHOST or user@SLAVEHOST
slavevol Slave Volume Name
Suggested:
-----------
positional arguments:
mastervol Master Volume Name
SLAVE Slave hostname (<username>@SLAVEHOST or SLAVEHOST)
slavevol Slave Volume Name
fixes: bz#1786276
Change-Id: I73d52247997d623f77d55e51cbb6eccc08eb95ff
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
Diffstat (limited to 'extras')
-rw-r--r-- | extras/geo-rep/schedule_georep.py.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/geo-rep/schedule_georep.py.in b/extras/geo-rep/schedule_georep.py.in index 7c2e629a437..48b2b507060 100644 --- a/extras/geo-rep/schedule_georep.py.in +++ b/extras/geo-rep/schedule_georep.py.in @@ -459,8 +459,8 @@ if __name__ == "__main__": description=__doc__) parser.add_argument("mastervol", help="Master Volume Name") parser.add_argument("slave", - help="SLAVEHOST or root@SLAVEHOST " - "or user@SLAVEHOST", + help="Slave hostname " + "(<username>@SLAVEHOST or SLAVEHOST)", metavar="SLAVE") parser.add_argument("slavevol", help="Slave Volume Name") parser.add_argument("--interval", help="Interval in Seconds. " |