Skip to content

Commit 3e8968a

Browse files
ycx516Huihuihh
authored andcommitted
Add NODE and HOST parameters in "server create" help text
Add optional parameters "NODE" and "HOST" in the help text of the server create comand for --availability-zone. Co-Authored-By: tianhui <tianhui@awcloud.com> Change-Id: I4faea8a3d3aecb21ec535e55c238c71745fc68cb Task: 24274 Story: 2003313
1 parent 8387b11 commit 3e8968a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

openstackclient/compute/v2/server.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,12 @@ def get_parser(self, prog_name):
711711
parser.add_argument(
712712
'--availability-zone',
713713
metavar='<zone-name>',
714-
help=_('Select an availability zone for the server'),
714+
help=_('Select an availability zone for the server. '
715+
'Host and node are optional parameters. '
716+
'Availability zone in the format '
717+
'<zone-name>:<host-name>:<node-name>, '
718+
'<zone-name>::<node-name>, <zone-name>:<host-name> '
719+
'or <zone-name>'),
715720
)
716721
parser.add_argument(
717722
'--host',

0 commit comments

Comments
 (0)