Skip to content

Commit fefe331

Browse files
committed
Default help output to include MV updates
We are inconsistent with some other projects with hiding client help output for commands added with microversions by default. This often leads to confusion with users of the CLI not being aware of these changes. This changes the default to display all help output. Users can still specify a version and have the output limited to include only options up to the version they specify. Change-Id: I39d90a1ecc824fcf445e98609de47d45e71a0ff6 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
1 parent 525a855 commit fefe331

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

cinderclient/shell.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
_i18n.enable_lazy()
5252

5353

54-
DEFAULT_MAJOR_OS_VOLUME_API_VERSION = "3"
5554
DEFAULT_CINDER_ENDPOINT_TYPE = 'publicURL'
5655
V1_SHELL = 'cinderclient.v1.shell'
5756
V2_SHELL = 'cinderclient.v2.shell'
@@ -534,7 +533,7 @@ def main(self, argv):
534533

535534
if not options.os_volume_api_version:
536535
api_version = api_versions.get_api_version(
537-
DEFAULT_MAJOR_OS_VOLUME_API_VERSION)
536+
api_versions.MAX_VERSION)
538537
else:
539538
api_version = api_versions.get_api_version(
540539
options.os_volume_api_version)

0 commit comments

Comments
 (0)