[serverctl] rename 'add-source' to 'source-add' for consistency's sake (closes #3732169)
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Wed, 09 Apr 2014 15:42:27 +0200
changeset 9759 846bc9227394
parent 9758 91f3cb7db2aa
child 9760 7bc3e55d365e
[serverctl] rename 'add-source' to 'source-add' for consistency's sake (closes #3732169)
server/serverctl.py
--- a/server/serverctl.py	Tue Jun 03 12:02:51 2014 +0200
+++ b/server/serverctl.py	Wed Apr 09 15:42:27 2014 +0200
@@ -459,7 +459,7 @@
         init_repository(config, drop=self.config.drop)
         if not self.config.automatic:
             while ASK.confirm('Enter another source ?', default_is_yes=False):
-                CWCTL.run(['add-source', '--config-level',
+                CWCTL.run(['source-add', '--config-level',
                            str(self.config.config_level), config.appid])
 
 
@@ -469,7 +469,7 @@
     <instance>
       the identifier of the instance to initialize.
     """
-    name = 'add-source'
+    name = 'source-add'
     arguments = '<instance>'
     min_args = max_args = 1
     options = (