Mercurial > pylearn
comparison pylearn/dbdict/newstuff.py @ 586:5020b12e87ee
fixed broken help
author | Olivier Breuleux <breuleuo@iro.umontreal.ca> |
---|---|
date | Fri, 05 Dec 2008 22:42:40 -0500 |
parents | 9f5691d5587d |
children | 6a7f3d83c72b |
comparison
equal
deleted
inserted
replaced
585:4e25f4e90c1e | 586:5020b12e87ee |
---|---|
809 from python. You can check with the command | 809 from python. You can check with the command |
810 | 810 |
811 $ python -m my_experiments | 811 $ python -m my_experiments |
812 """ | 812 """ |
813 else: | 813 else: |
814 helptext = runner_registry.get(topic, None) | 814 helptext = runner_registry.get(topic, None)[1] |
815 print format_help(helptext) | 815 print format_help(helptext) |
816 | 816 |
817 runner_registry['help'] = (None, runner_help) | 817 runner_registry['help'] = (None, runner_help) |
818 | 818 |
819 ################################################################################ | 819 ################################################################################ |