]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume lvm.batch update help docs from auto to batch
authorAlfredo Deza <adeza@redhat.com>
Thu, 12 Jul 2018 20:11:29 +0000 (16:11 -0400)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 28 Aug 2018 16:03:13 +0000 (11:03 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 226a5389ab3379943d3af35e3e1a86481a3980b2)

src/ceph-volume/ceph_volume/devices/lvm/batch.py

index f8a2169a87ff39e52ab41ddbeaa00d55863a37ca..4f56debc105f1a5f754585ce55fbe75143f67657 100644 (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(),
         )