view .hgignore @ 20:f39963e96ca1

Rework of the help string code Instead of having all the help strings in the command table, we just shove them into the __doc__ for each of the function handlers. This means that no one function can handle two different functionalities as their help string space would collide. This is fine most of the time anyway. However, the considerably cleaner command table is a major plus. The only other "negative" side-effect is the fact that we need to make sure that the first two lines of the function handler are in the right format. First line: the command along with any optional or mandatory arguments Second line: "\t - " followed by a one line description of what the command does. Subsequent lines: All subsequent lines are currently ignored, however it would be nice to display the entire __doc__ string content when something like "h <help string>"-type functionality is implemented.
author Josef "Jeff" Sipek <>
date Sun, 20 Aug 2006 01:00:29 -0400
parents 3c8572d3d008
children bc689f2fd114
line wrap: on
line source