summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-04-15 03:37:34 +0000
committerGerrit Code Review <review@openstack.org>2016-04-15 03:37:34 +0000
commit4763d5d8fc05247b10a8c2757493278c588fd20a (patch)
treea6eec24d0b18f2bb8a8f701ebbd464c7bbd7ac26
parent9ac51b13863b935dabc70f15bf78f111c61cb5dc (diff)
parent6dfc054cd0a6ba8b1bfc8c2402365769d445c4bb (diff)
downloadpython-heatclient-4763d5d8fc05247b10a8c2757493278c588fd20a.tar.gz
Merge "Moved -t parameter for visibility"
-rw-r--r--heatclient/osc/v1/stack.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/heatclient/osc/v1/stack.py b/heatclient/osc/v1/stack.py
index bcd3231..ead9c6f 100644
--- a/heatclient/osc/v1/stack.py
+++ b/heatclient/osc/v1/stack.py
@@ -45,12 +45,6 @@ class CreateStack(show.ShowOne):
def get_parser(self, prog_name):
parser = super(CreateStack, self).get_parser(prog_name)
parser.add_argument(
- '-t', '--template',
- metavar='<template>',
- required=True,
- help=_('Path to the template')
- )
- parser.add_argument(
'-e', '--environment',
metavar='<environment>',
action='append',
@@ -115,6 +109,12 @@ class CreateStack(show.ShowOne):
metavar='<stack-name>',
help=_('Name of the stack to create')
)
+ parser.add_argument(
+ '-t', '--template',
+ metavar='<template>',
+ required=True,
+ help=_('Path to the template')
+ )
return parser