[cwctl] rename option no-post-create to no-db-create
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Fri, 24 May 2013 14:02:45 +0200
changeset 9001 328c24289253
parent 9000 506e656b7eef
child 9002 f98d1c46ed9f
[cwctl] rename option no-post-create to no-db-create
cwctl.py
--- a/cwctl.py	Thu Jun 06 16:02:46 2013 +0200
+++ b/cwctl.py	Fri May 24 14:02:45 2013 +0200
@@ -365,11 +365,11 @@
           ' "list" command. Default to "all-in-one", e.g. an installation '
           'embedding both the RQL repository and the web server.',
           }),
-        ('no-post-create',
-         {'short': 'P',
+        ('no-db-create',
+         {'short': 'S',
           'action': 'store_true',
           'default': False,
-          'help': 'do not run post-create tasks (database creation, etc.)',
+          'help': 'stop after creation and do not continue with db-create',
           }),
         )
 
@@ -439,7 +439,7 @@
             print 'set %s as owner of the data directory' % config['uid']
             chown(config.appdatahome, config['uid'])
         print '\n-> creation done for %s\n' % repr(config.apphome)[1:-1]
-        if not self.config.no_post_create:
+        if not self.config.no_db_create:
             helper.postcreate(self.config.automatic)
 
     def _handle_win32(self, config, appid):