[cli-ref] add work around for long command option

https://review.openstack.org/#/c/332502/

Change-Id: I1e680b244d249f6d3630d12c3659bcfca3c602a5
This commit is contained in:
KATO Tomoyuki 2016-06-22 14:12:45 +09:00
parent 3d11ccd7d8
commit a99849e700
1 changed files with 4 additions and 0 deletions

View File

@ -287,6 +287,10 @@ def format_help(title, lines, os_file):
xline = split_line[0]
# check niceness work around for long option name, glance
xline = xline.replace('[<RESOURCE_TYPE_ASSOCIATIONS> ...]',
'[...]')
os_file.write("``" + xline + "``\n")
if len(split_line) > 1: