From 874c9212929204a6eb3c0dc70afd5ccea9794178 Mon Sep 17 00:00:00 2001
From: Hugh Saunders <hugh@wherenow.org>
Date: Wed, 22 Jul 2015 11:49:58 +0100
Subject: [PATCH] Fix --os-auth-plugin in auth_with_unscoped_saml

The error message refers to --os-auth-plugin which is not a valid
option. This patch changes that to --os-auth-type.

Change-Id: I02ec0b7855131180bb8c674051930ebb51cb7303
Closes-Bug: #1477083
---
 openstackclient/identity/v3/unscoped_saml.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openstackclient/identity/v3/unscoped_saml.py b/openstackclient/identity/v3/unscoped_saml.py
index 9b158b6752..fddac68fae 100644
--- a/openstackclient/identity/v3/unscoped_saml.py
+++ b/openstackclient/identity/v3/unscoped_saml.py
@@ -37,7 +37,7 @@ def auth_with_unscoped_saml(func):
         else:
             msg = ('This command requires the use of an unscoped SAML '
                    'authentication plugin. Please use argument '
-                   '--os-auth-plugin with one of the following '
+                   '--os-auth-type with one of the following '
                    'plugins: ' + ', '.join(UNSCOPED_AUTH_PLUGINS))
             raise exceptions.CommandError(msg)
     return _decorated