From 94d7c2318100bfdcaf42ecb2fb7ecd82ebfbef69 Mon Sep 17 00:00:00 2001
From: Kun Huang <gareth@unitedstack.com>
Date: Sun, 7 Jul 2013 16:17:28 +0800
Subject: [PATCH] Note '-V 2' is necessary for auth 2.0

Here are some questions in Launchpad, just because they miss '-V 2' for
auth 2.0.
https://answers.launchpad.net/swift/+question/231938
https://answers.launchpad.net/swift/+question/231279
So I add somethins for noteing people add the '-V 2'

Change-Id: I2e0fef969be4eca316975de03fdbc516a1069acf
---
 bin/swift | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/swift b/bin/swift
index 416b1839..8224b4d3 100755
--- a/bin/swift
+++ b/bin/swift
@@ -1258,7 +1258,8 @@ to be set or overridden with -A, -U, or -K.
 
 Auth version 2.0 requires OS_AUTH_URL, OS_USERNAME, OS_PASSWORD, and
 OS_TENANT_NAME OS_TENANT_ID to be set or overridden with --os-auth-url,
---os-username, --os-password, --os-tenant-name or os-tenant-id.'''.strip('\n'))
+--os-username, --os-password, --os-tenant-name or os-tenant-id. Note:
+adding "-V 2" is necessary for this.'''.strip('\n'))
     return options, args