summaryrefslogtreecommitdiff
path: root/openstackclient/shell.py
diff options
context:
space:
mode:
authorDave Chen <wei.d.chen@intel.com>2015-06-14 14:59:38 +0800
committerDave Chen <wei.d.chen@intel.com>2015-06-14 14:59:38 +0800
commitb3289601c7123f412d043f16fc342ff9bfdf72b7 (patch)
tree9c1ff456dad1882d403310ebc78db532a90484fb /openstackclient/shell.py
parentaac0d588bd83b51cd2f4b36b22741497fb39d79f (diff)
downloadpython-openstackclient-b3289601c7123f412d043f16fc342ff9bfdf72b7.tar.gz
Fix the typo in `openstackclient/shell.py`
Change-Id: Ia101f6d50ecd4a195aa93b1f289def581b0c6f38
Diffstat (limited to 'openstackclient/shell.py')
-rw-r--r--openstackclient/shell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/shell.py b/openstackclient/shell.py
index 36483b3a..4109b8bc 100644
--- a/openstackclient/shell.py
+++ b/openstackclient/shell.py
@@ -43,7 +43,7 @@ DEFAULT_DOMAIN = 'default'
def prompt_for_password(prompt=None):
"""Prompt user for a password
- Propmpt for a password if stdin is a tty.
+ Prompt for a password if stdin is a tty.
"""
if not prompt:
@@ -228,7 +228,7 @@ class OpenStackShell(app.App):
# Parent __init__ parses argv into self.options
super(OpenStackShell, self).initialize_app(argv)
- # Set the default plugin to token_endpoint if rl and token are given
+ # Set the default plugin to token_endpoint if url and token are given
if (self.options.url and self.options.token):
# Use service token authentication
cloud_config.set_default('auth_type', 'token_endpoint')