summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorJulia Kreger <juliaashleykreger@gmail.com>2017-07-26 12:50:07 +0000
committerJulia Kreger <juliaashleykreger@gmail.com>2017-07-26 13:40:01 +0000
commit835c5d4c57ddb700cc50c2d7ed8eef6b177a15c2 (patch)
tree5506870cde75831bcf48d88df077e2bdb6f9cdee /doc/source
parentca1b923f989833797f36109cf198ee32f6b69d23 (diff)
downloadpython-ironicclient-835c5d4c57ddb700cc50c2d7ed8eef6b177a15c2.tar.gz
Turn on warning-is-error1.16.0
In the doc-migration, warning-is-error was never enabled for python-ironicclient. As such, I've enabled it and corrected the various document errors. Change-Id: I2d1b95fba25dba5d59da3f4b09b9974ff5196940
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/cli/ironic_client.rst12
-rw-r--r--doc/source/cli/osc_plugin_cli.rst4
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/source/cli/ironic_client.rst b/doc/source/cli/ironic_client.rst
index 92c02b0..c86289c 100644
--- a/doc/source/cli/ironic_client.rst
+++ b/doc/source/cli/ironic_client.rst
@@ -23,9 +23,9 @@ OpenStack Bare Metal Service (Ironic).
In order to use the CLI, you must provide your OpenStack username, password,
project (historically called tenant), and auth endpoint. You can use
-configuration options :option:`--os-username`, :option:`--os-password`,
-:option:`--os-tenant-id` (or :option:`--os-tenant-name`),
-and :option:`--os-auth-url`, or set the corresponding
+configuration options ``--os-username``, ``--os-password``,
+``--os-tenant-id`` (or ``--os-tenant-name``),
+and ``--os-auth-url``, or set the corresponding
environment variables::
$ export OS_USERNAME=user
@@ -36,15 +36,15 @@ environment variables::
The command-line tool will attempt to reauthenticate using the provided
credentials for every request. You can override this behavior by manually
-supplying an auth token using :option:`--ironic-url` and
-:option:`--os-auth-token`, or by setting the corresponding environment
+supplying an auth token using ``--ironic-url`` and
+``--os-auth-token``, or by setting the corresponding environment
variables::
$ export IRONIC_URL=http://ironic.example.org:6385/
$ export OS_AUTH_TOKEN=3bcc3d3a03f44e3d8377f9247b0ad155
Since Keystone can return multiple regions in the Service Catalog, you can
-specify the one you want with :option:`--os-region-name` or set the following
+specify the one you want with ``--os-region-name`` or set the following
environment variable. (It defaults to the first in the list returned.)
::
diff --git a/doc/source/cli/osc_plugin_cli.rst b/doc/source/cli/osc_plugin_cli.rst
index 924d3e5..79e7455 100644
--- a/doc/source/cli/osc_plugin_cli.rst
+++ b/doc/source/cli/osc_plugin_cli.rst
@@ -25,8 +25,8 @@ To use ``openstack`` CLI, the OpenStackClient should be installed::
To use the CLI, you must provide your OpenStack username, password,
project, and auth endpoint. You can use configuration options
-:option:`--os-username`, :option:`--os-password`, :option:`--os-project-id`
-(or :option:`--os-project-name`), and :option:`--os-auth-url`,
+``--os-username``, ``--os-password``, ``--os-project-id``
+(or ``--os-project-name``), and ``--os-auth-url``,
or set the corresponding environment variables::
$ export OS_USERNAME=user