ceph-volume lvm.batch update help docs from auto to batch

Signed-off-by: Alfredo Deza <adeza@redhat.com>
This commit is contained in:
Alfredo Deza 2018-07-12 16:11:29 -04:00
parent ae98cc3512
commit 226a5389ab

View File

@ -89,7 +89,7 @@ def get_strategy(devices, args):
return backend(devices, args)
class Auto(object):
class Batch(object):
help = 'Automatically size devices for multi-OSD provisioning with minimal interaction'
@ -101,11 +101,11 @@ class Auto(object):
Usage:
ceph-volume lvm auto [DEVICE...]
ceph-volume lvm batch [DEVICE...]
Optional reporting on possible outcomes is enabled with --report
ceph-volume lvm auto --report [DEVICE...]
ceph-volume lvm batch --report [DEVICE...]
""")
def __init__(self, argv):
@ -166,7 +166,7 @@ class Auto(object):
@decorators.needs_root
def main(self):
parser = argparse.ArgumentParser(
prog='ceph-volume auto',
prog='ceph-volume lvm batch',
formatter_class=argparse.RawDescriptionHelpFormatter,
description=self.print_help(),
)