summaryrefslogtreecommitdiffstats
path: root/subcmds/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/__init__.py')
-rw-r--r--subcmds/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/subcmds/__init__.py b/subcmds/__init__.py
index a2286e78..1fac802e 100644
--- a/subcmds/__init__.py
+++ b/subcmds/__init__.py
@@ -15,7 +15,7 @@
15 15
16import os 16import os
17 17
18all = {} 18all_commands = {}
19 19
20my_dir = os.path.dirname(__file__) 20my_dir = os.path.dirname(__file__)
21for py in os.listdir(my_dir): 21for py in os.listdir(my_dir):
@@ -43,7 +43,7 @@ for py in os.listdir(my_dir):
43 43
44 name = name.replace('_', '-') 44 name = name.replace('_', '-')
45 cmd.NAME = name 45 cmd.NAME = name
46 all[name] = cmd 46 all_commands[name] = cmd
47 47
48if 'help' in all: 48if 'help' in all_commands:
49 all['help'].commands = all 49 all_commands['help'].commands = all_commands