|
|
66332a |
From 708d0a8e4e45d4f4a6bee67f0a9ebc0ff573e1ff Mon Sep 17 00:00:00 2001
|
|
|
66332a |
From: Kumabuchi Kenji <k.kumabuchi+curvygrin@gmail.com>
|
|
|
66332a |
Date: Fri, 25 Oct 2019 16:34:40 +0900
|
|
|
66332a |
Subject: [PATCH] fix shortopt in fence-compute / fence_evacuate help messages
|
|
|
66332a |
|
|
|
66332a |
Signed-off-by: Kumabuchi Kenji <k.kumabuchi+curvygrin@gmail.com>
|
|
|
66332a |
---
|
|
|
66332a |
agents/compute/fence_compute.py | 2 +-
|
|
|
66332a |
agents/evacuate/fence_evacuate.py | 2 +-
|
|
|
66332a |
tests/data/metadata/fence_compute.xml | 4 ++--
|
|
|
66332a |
tests/data/metadata/fence_evacuate.xml | 4 ++--
|
|
|
66332a |
4 files changed, 6 insertions(+), 6 deletions(-)
|
|
|
66332a |
|
|
|
66332a |
diff --git a/agents/compute/fence_compute.py b/agents/compute/fence_compute.py
|
|
|
66332a |
index c08a9dbe..d0e012e6 100644
|
|
|
66332a |
--- a/agents/compute/fence_compute.py
|
|
|
66332a |
+++ b/agents/compute/fence_compute.py
|
|
|
66332a |
@@ -365,7 +365,7 @@ def define_new_opts():
|
|
|
66332a |
all_opt["project-domain"] = {
|
|
|
66332a |
"getopt" : "P:",
|
|
|
66332a |
"longopt" : "project-domain",
|
|
|
66332a |
- "help" : "-d, --project-domain=[name] Keystone v3 Project Domain",
|
|
|
66332a |
+ "help" : "-P, --project-domain=[name] Keystone v3 Project Domain",
|
|
|
66332a |
"required" : "0",
|
|
|
66332a |
"shortdesc" : "Keystone v3 Project Domain",
|
|
|
66332a |
"default" : "Default",
|
|
|
66332a |
diff --git a/agents/evacuate/fence_evacuate.py b/agents/evacuate/fence_evacuate.py
|
|
|
66332a |
index 76e78b87..60bb130e 100644
|
|
|
66332a |
--- a/agents/evacuate/fence_evacuate.py
|
|
|
66332a |
+++ b/agents/evacuate/fence_evacuate.py
|
|
|
66332a |
@@ -302,7 +302,7 @@ def define_new_opts():
|
|
|
66332a |
all_opt["project-domain"] = {
|
|
|
66332a |
"getopt" : "P:",
|
|
|
66332a |
"longopt" : "project-domain",
|
|
|
66332a |
- "help" : "-d, --project-domain=[name] Keystone v3 Project Domain",
|
|
|
66332a |
+ "help" : "-P, --project-domain=[name] Keystone v3 Project Domain",
|
|
|
66332a |
"required" : "0",
|
|
|
66332a |
"shortdesc" : "Keystone v3 Project Domain",
|
|
|
66332a |
"default" : "Default",
|
|
|
66332a |
diff --git a/tests/data/metadata/fence_compute.xml b/tests/data/metadata/fence_compute.xml
|
|
|
66332a |
index abc276ca..99d56af0 100644
|
|
|
66332a |
--- a/tests/data/metadata/fence_compute.xml
|
|
|
66332a |
+++ b/tests/data/metadata/fence_compute.xml
|
|
|
66332a |
@@ -74,12 +74,12 @@
|
|
|
66332a |
<shortdesc lang="en">Allow Insecure TLS Requests</shortdesc>
|
|
|
66332a |
</parameter>
|
|
|
66332a |
<parameter name="project-domain" unique="0" required="0" deprecated="1">
|
|
|
66332a |
- <getopt mixed="-d, --project-domain=[name]" />
|
|
|
66332a |
+ <getopt mixed="-P, --project-domain=[name]" />
|
|
|
66332a |
<content type="string" default="Default" />
|
|
|
66332a |
<shortdesc lang="en">Keystone v3 Project Domain</shortdesc>
|
|
|
66332a |
</parameter>
|
|
|
66332a |
<parameter name="project_domain" unique="0" required="0" obsoletes="project-domain">
|
|
|
66332a |
- <getopt mixed="-d, --project-domain=[name]" />
|
|
|
66332a |
+ <getopt mixed="-P, --project-domain=[name]" />
|
|
|
66332a |
<content type="string" default="Default" />
|
|
|
66332a |
<shortdesc lang="en">Keystone v3 Project Domain</shortdesc>
|
|
|
66332a |
</parameter>
|
|
|
66332a |
diff --git a/tests/data/metadata/fence_evacuate.xml b/tests/data/metadata/fence_evacuate.xml
|
|
|
66332a |
index 7decb05c..8c720b80 100644
|
|
|
66332a |
--- a/tests/data/metadata/fence_evacuate.xml
|
|
|
66332a |
+++ b/tests/data/metadata/fence_evacuate.xml
|
|
|
66332a |
@@ -74,12 +74,12 @@
|
|
|
66332a |
<shortdesc lang="en">Allow Insecure TLS Requests</shortdesc>
|
|
|
66332a |
</parameter>
|
|
|
66332a |
<parameter name="project-domain" unique="0" required="0" deprecated="1">
|
|
|
66332a |
- <getopt mixed="-d, --project-domain=[name]" />
|
|
|
66332a |
+ <getopt mixed="-P, --project-domain=[name]" />
|
|
|
66332a |
<content type="string" default="Default" />
|
|
|
66332a |
<shortdesc lang="en">Keystone v3 Project Domain</shortdesc>
|
|
|
66332a |
</parameter>
|
|
|
66332a |
<parameter name="project_domain" unique="0" required="0" obsoletes="project-domain">
|
|
|
66332a |
- <getopt mixed="-d, --project-domain=[name]" />
|
|
|
66332a |
+ <getopt mixed="-P, --project-domain=[name]" />
|
|
|
66332a |
<content type="string" default="Default" />
|
|
|
66332a |
<shortdesc lang="en">Keystone v3 Project Domain</shortdesc>
|
|
|
66332a |
</parameter>
|