]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume: lvm.activate: udpdate the help to normalize representations
authorAlfredo Deza <adeza@redhat.com>
Mon, 3 Jul 2017 17:51:33 +0000 (13:51 -0400)
committerAlfredo Deza <adeza@redhat.com>
Fri, 4 Aug 2017 14:25:57 +0000 (10:25 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
src/ceph-volume/ceph_volume/devices/lvm/activate.py

index 5fb7d509e363b27938faef0272ee3d10df64682e..ebfeb731dbae76bdcfecbcc8e7c4126d8a2f6e8e 100644 (file)
@@ -58,7 +58,7 @@ class Activate(object):
         Activate OSDs by discovering them with LVM and mounting them in their
         appropriate destination:
 
-            ceph-volume lvm activate {ID} {UUID}
+            ceph-volume lvm activate {ID} {FSID}
 
         The lvs associated with the OSD need to have been prepared previously,
         so that all needed tags and metadata exist.
@@ -70,17 +70,27 @@ class Activate(object):
             description=sub_command_help,
         )
 
-        parser.add_argument('id', nargs='?', help='The ID of the OSD, usually an integer, like 0')
-        parser.add_argument('fsid', nargs='?', help='The FSID of the OSD, similar to a SHA1')
+        parser.add_argument(
+            'id',
+            metavar='ID',
+            nargs='?',
+            help='The ID of the OSD, usually an integer, like 0'
+        )
+        parser.add_argument(
+            'fsid',
+            metavar='FSID',
+            nargs='?',
+            help='The FSID of the OSD, similar to a SHA1'
+        )
         parser.add_argument(
             '--bluestore',
             action='store_true', default=False,
-            help='filestore objectstore',
+            help='filestore objectstore (not yet implemented)',
         )
         parser.add_argument(
             '--filestore',
             action='store_true', default=True,
-            help='filestore objectstore',
+            help='filestore objectstore (current default)',
         )
         args = parser.parse_args(self.argv[1:])
         self.activate(args)