From 7d0072147509b009f3d09e199de920cda45f7303 Mon Sep 17 00:00:00 2001 From: jiansong Date: Mon, 17 Apr 2017 23:17:37 -0700 Subject: [PATCH] Add related_to help message for instance help We have been change the mongodb cluster scaling related changes in the Liberty version[1], as mongodb cluster grow the necessary variables,we should displayed in the help message to expose it, rather than hide it. So made this change. [1]:https://specs.openstack.org/openstack/trove-specs/specs/liberty/cluster-scaling.html#cluster-grow Change-Id: I45f5702f7645aa7855f8140bcd5ec83e2c76eeae --- troveclient/v1/shell.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/troveclient/v1/shell.py b/troveclient/v1/shell.py index c5131cc5..6feda3d0 100644 --- a/troveclient/v1/shell.py +++ b/troveclient/v1/shell.py @@ -34,7 +34,8 @@ INSTANCE_HELP = _("Add an instance to the cluster. Specify multiple " "port-id=>' " "(where net-id=network_id, v4-fixed-ip=IPv4r_fixed_address, " "port-id=port_id), availability_zone=, " - "module=, type=.") + "module=, type=, " + "related_to=.") NIC_ERROR = _("Invalid NIC argument: %s. Must specify either net-id or port-id" " but not both. Please refer to help.") NO_LOG_FOUND_ERROR = _("ERROR: No published '%(log_name)s' log was found for "