ceph-volume remove version reporting from help menu 24754/head
authorAlfredo Deza <adeza@redhat.com>
Wed, 10 Oct 2018 19:35:31 +0000 (15:35 -0400)
committerAlfredo Deza <adeza@redhat.com>
Thu, 25 Oct 2018 13:24:38 +0000 (09:24 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 20db7bf585f6433c6705396264005a4227cbf2e3)

src/ceph-volume/ceph_volume/main.py

index 33479fbe8741c651bdace6553c89427f0b8510bc..47358f2dd341eea7dfe7a30e8703ed19d67f037f 100644 (file)
@@ -5,7 +5,6 @@ import pkg_resources
 import sys
 import logging
 
-import ceph_volume
 from ceph_volume.decorators import catches
 from ceph_volume import log, devices, configuration, conf, exceptions, terminal
 
@@ -15,8 +14,6 @@ class Volume(object):
 ceph-volume: Deploy Ceph OSDs using different device technologies like lvm or
 physical disks.
 
-Version: {version}
-
 Log Path: {log_path}
 Ceph Conf: {ceph_path}
 
@@ -43,7 +40,6 @@ Ceph Conf: {ceph_path}
         warning = 'See "ceph-volume --help" for full list of options.' if warning else ''
         return self._help.format(
             warning=warning,
-            version=ceph_volume.__version__,
             log_path=conf.log_path,
             ceph_path=self.stat_ceph_conf(),
             plugins=self.plugin_help,