....so that command-line tools can specify that an instance
is to be committed.

Signed-off-by: Klaus Aehlig <[email protected]>
---
 lib/cli_opts.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/cli_opts.py b/lib/cli_opts.py
index 42b5c55..403e63d 100644
--- a/lib/cli_opts.py
+++ b/lib/cli_opts.py
@@ -60,6 +60,7 @@ __all__ = [
   "CLEANUP_OPT",
   "cli_option",
   "CLUSTER_DOMAIN_SECRET_OPT",
+  "COMMIT_OPT",
   "COMMON_CREATE_OPTS",
   "COMMON_OPTS",
   "COMPRESS_OPT",
@@ -899,6 +900,11 @@ FORTHCOMING_OPT = cli_option("--forthcoming", 
dest="forthcoming",
                              help="Only reserve resources, but do not"
                                   " create the instance yet")
 
+COMMIT_OPT = cli_option("--commit", dest="commit",
+                        action="store_true", default=False,
+                        help="The instance is already reserved and should"
+                             " be committed now")
+
 SHOWCMD_OPT = cli_option("--show-cmd", dest="show_command",
                          action="store_true", default=False,
                          help="Show command instead of executing it")
-- 
2.2.0.rc0.207.ga3a616c

Reply via email to