changeset 580:b563a9c1f2b7

STUB: python/install_config.py
author Jeff Hammel <k0scist@gmail.com>
date Mon, 20 Jan 2014 19:20:57 -0800
parents f894bd779943
children f7ff0054c7c2
files python/install_config.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/python/install_config.py	Mon Jan 20 19:19:10 2014 -0800
+++ b/python/install_config.py	Mon Jan 20 19:20:57 2014 -0800
@@ -168,7 +168,7 @@
     parser.add_option('-l', '--list', '--list-steps',
                       dest='list_steps',
                       action='store_true', default=False,
-                      help="list steps to be run")
+                      help="list steps to be run and exit")
     options, args = parser.parse_args()
 
     # plan steps
@@ -180,6 +180,7 @@
         # list steps if specified
         for step in steps:
             print step
+        parser.exit()
 
     # execute steps
     for step in steps: