changeset 1916:1fb4116270ab

script commands: consistently use minus (not underscore) within command names
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 20 Jan 2013 19:33:01 +0100
parents a2d2f4a93e0b
children 16ea00a08d51
files MoinMoin/script/__init__.py
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/__init__.py	Sun Jan 20 19:29:06 2013 +0100
+++ b/MoinMoin/script/__init__.py	Sun Jan 20 19:33:01 2013 +0100
@@ -34,20 +34,20 @@
     manager.add_command("save", serialization.Serialize())
     manager.add_command("load", serialization.Deserialize())
     from MoinMoin.script.account.create import Create_User
-    manager.add_command("account_create", Create_User())
+    manager.add_command("account-create", Create_User())
     from MoinMoin.script.account.disable import Disable_User
-    manager.add_command("account_disable", Disable_User())
+    manager.add_command("account-disable", Disable_User())
     from MoinMoin.script.account.resetpw import Set_Password
-    manager.add_command("account_password", Set_Password())
+    manager.add_command("account-password", Set_Password())
     from MoinMoin.script.maint.reduce_revisions import Reduce_Revisions
-    manager.add_command("maint_reduce_revisions", Reduce_Revisions())
+    manager.add_command("maint-reduce-revisions", Reduce_Revisions())
     from MoinMoin.script.maint.set_meta import Set_Meta
-    manager.add_command("maint_set_meta", Set_Meta())
+    manager.add_command("maint-set-meta", Set_Meta())
     from MoinMoin.script.maint import modify_item
     manager.add_command("item-get", modify_item.GetItem())
     manager.add_command("item-put", modify_item.PutItem())
     from MoinMoin.script.maint.modified_systemitems import Modified_SystemItems
-    manager.add_command("maint_modified_systemitems", Modified_SystemItems())
+    manager.add_command("maint-modified-systemitems", Modified_SystemItems())
     from MoinMoin.script.migration.moin19.import19 import ImportMoin19
     manager.add_command("import19", ImportMoin19())