[nova-cli-ref] Adjust long line for check niceness

The generated nova cli-reference have a long line option
which causing jenkins error, so it is corrected

Reference: https://review.openstack.org/#/c/287587/

Change-Id: Ie762f60d37d1973c9edbe643065150b9c856865c
This commit is contained in:
venkatamahesh 2016-03-03 20:37:54 +05:30
parent 028dcd0c02
commit 360f159de8
1 changed files with 4 additions and 0 deletions

View File

@ -290,6 +290,10 @@ def format_help(title, lines, os_file):
xline = xline.replace('--sort-key {name,status,container',
'--sort-key {name,status,``\n\n``container')
# check niceness work around for long option name, nova
xline = xline.replace('--nic <net-id=net-uuid,net-name',
'--nic <net-id=net-uuid,``\n\n``net-name')
os_file.write("``" + xline + "``\n")
if len(split_line) > 1: