From 97785352632ea942c00e52a3d248cd50d2fb46f3 Mon Sep 17 00:00:00 2001 From: Tetsuro Nakamura Date: Wed, 12 May 2021 02:46:41 +0000 Subject: [PATCH] Note env OS_PLACEMENT_API_VERSION support The placement client (osc-placement) supports the ``OS_PLACEMENT_API_VERSION`` environment variable, but it is not described in the ``openstack -h`` command. So this patch adds the description as well as other environment variables. Change-Id: I41a3718bfa27ecf370c7375b4f761cda47866b1a --- osc_placement/plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osc_placement/plugin.py b/osc_placement/plugin.py index 2b6be45..7373827 100644 --- a/osc_placement/plugin.py +++ b/osc_placement/plugin.py @@ -52,6 +52,7 @@ def build_option_parser(parser): 'OS_PLACEMENT_API_VERSION', default=default ), - help='Placement API version, default=%s' % default) + help='Placement API version, default=%s ' + '(Env: OS_PLACEMENT_API_VERSION)' % default) return parser