diff options
author | Aaron Bentley <aaron.bentley@utoronto.ca> | 2006-04-04 19:46:25 -0400 |
---|---|---|
committer | Aaron Bentley <aaron.bentley@utoronto.ca> | 2006-04-04 19:46:25 -0400 |
commit | 2225a378d84f77c3512ee407af1aeb355b463084 (patch) | |
tree | bfd0ef4b969bfdcd723e405f69599107b0931bd9 /becommands/help.py | |
parent | 4dda0decb88c6bc987d3d55a1ac757104e9d0ba9 (diff) | |
parent | c1f60d534fbc5496a0e3df2cb7c0d053e5fa40a8 (diff) | |
download | bugseverywhere-2225a378d84f77c3512ee407af1aeb355b463084.tar.gz |
Merge both lines
Diffstat (limited to 'becommands/help.py')
-rw-r--r-- | becommands/help.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/becommands/help.py b/becommands/help.py index cae8949..1402a2a 100644 --- a/becommands/help.py +++ b/becommands/help.py @@ -26,7 +26,11 @@ def execute(args): if len(args) == 0: print_command_list() else: - print cmdutil.help(args[0]) + try: + print cmdutil.help(args[0]) + except AttributeError: + print "No help available" + return |