From 8cdac42ceebf4a8699b9b5deb0d8bb3b80e8880f Mon Sep 17 00:00:00 2001 From: Zhao Lei Date: Wed, 23 Sep 2015 21:43:14 +0800 Subject: [PATCH] Fix some spelling typo in manual and help output authentification -> authentication defintion -> definition Plus a little comment fix. Change-Id: I9cb8049dd16e357ff52dd4ab956c19e2de866baa Signed-off-by: Zhao Lei --- doc/source/shell.rst | 2 +- gnocchiclient/tests/functional/base.py | 2 +- gnocchiclient/v1/archive_policy_cli.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/source/shell.rst b/doc/source/shell.rst index e3a3322..f002e4c 100644 --- a/doc/source/shell.rst +++ b/doc/source/shell.rst @@ -44,7 +44,7 @@ set these environment variables:: export OS_AUTH_PLUGIN=token export OS_AUTH_TOKEN=3bcc3d3a03f44e3d8377f9247b0ad155 -Also, if the server doesn't support authentification, you can provide +Also, if the server doesn't support authentication, you can provide :option:`--os-auth-plugon` gnocchi-noauth, :option:`--gnocchi-endpoint`, :option:`--user-id` and :option:`--project-id`. You can alternatively set these environment variables:: diff --git a/gnocchiclient/tests/functional/base.py b/gnocchiclient/tests/functional/base.py index 16b75f4..1fbeee2 100644 --- a/gnocchiclient/tests/functional/base.py +++ b/gnocchiclient/tests/functional/base.py @@ -24,7 +24,7 @@ from tempest_lib import exceptions class GnocchiClient(object): """Gnocchi Client for tempest-lib - This client doesn't use any authentification system + This client doesn't use any authentication system """ def __init__(self): diff --git a/gnocchiclient/v1/archive_policy_cli.py b/gnocchiclient/v1/archive_policy_cli.py index ab48d75..b6c12b0 100644 --- a/gnocchiclient/v1/archive_policy_cli.py +++ b/gnocchiclient/v1/archive_policy_cli.py @@ -72,9 +72,9 @@ class CliArchivePolicyCreate(show.ShowOne): parser.add_argument("-d", "--definition", action='append', required=True, type=archive_policy_definition, metavar="", - help=("two attributes (separated by ',') of a " - "archive policy defintion with its name and " - "value separated with a ':'")) + help=("two attributes (separated by ',') of an " + "archive policy definition with its name " + "and value separated with a ':'")) return parser def take_action(self, parsed_args):