aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/help.py
diff options
context:
space:
mode:
Diffstat (limited to 'becommands/help.py')
-rw-r--r--becommands/help.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/becommands/help.py b/becommands/help.py
index fc89207..2f37ec2 100644
--- a/becommands/help.py
+++ b/becommands/help.py
@@ -27,7 +27,11 @@ def execute(args):
for name, module in cmdutil.iter_commands():
print "be %s\n %s" % (name, module.__doc__)
else:
- print cmdutil.help(args[0])
+ try:
+ print cmdutil.help(args[0])
+ except AttributeError:
+ print "No help available"
+
return