aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbe3
1 files changed, 3 insertions, 0 deletions
diff --git a/be b/be
index 6be236b..2e038a5 100755
--- a/be
+++ b/be
@@ -24,6 +24,9 @@ __doc__ == cmdutil.help()
if len(sys.argv) == 1 or sys.argv[1] in ('--help', '-h'):
print cmdutil.help()
+elif sys.argv[1] == '--commands':
+ for command, module in cmdutil.iter_commands():
+ print command
else:
try:
try: