Use parameter instead of option

Change-Id: I042ce268840f2c0ad57305c071ceeea74b1423c4
This commit is contained in:
Christian Berendt 2015-04-23 22:04:48 +02:00
parent a21cf5f375
commit 2af10c9992

View File

@ -639,7 +639,7 @@ def document_single_project(os_command, output_dir):
<title>Block Storage API v2 commands</title> <title>Block Storage API v2 commands</title>
<para> <para>
You can select an API version to use by adding the You can select an API version to use by adding the
<parameter>--os-volume-api-version</parameter> option or by setting <parameter>--os-volume-api-version</parameter> parameter or by setting
the corresponding environment variable:\n""") the corresponding environment variable:\n""")
out_file.write("<screen><prompt>$</prompt> <userinput>" out_file.write("<screen><prompt>$</prompt> <userinput>"
"export OS_VOLUME_API_VERSION=2</userinput></screen>\n" "export OS_VOLUME_API_VERSION=2</userinput></screen>\n"
@ -676,7 +676,7 @@ def document_single_project(os_command, output_dir):
<title>Image service API v2 commands</title> <title>Image service API v2 commands</title>
<para> <para>
You can select an API version to use by adding the You can select an API version to use by adding the
<parameter>--os-image-api-version</parameter> option or by setting <parameter>--os-image-api-version</parameter> parameter or by setting
the corresponding environment variable:\n""") the corresponding environment variable:\n""")
out_file.write("<screen><prompt>$</prompt> <userinput>" out_file.write("<screen><prompt>$</prompt> <userinput>"
"export OS_IMAGE_API_VERSION=2</userinput></screen>\n" "export OS_IMAGE_API_VERSION=2</userinput></screen>\n"