view .hgtags @ 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 <jeffpc@josefsipek.net>
date Sun, 20 Aug 2006 01:00:29 -0400
parents e87e577cc32f
children ad17f7d6728f
line wrap: on
line source

eaa800169f5bd75f41bdb1ba2ee9f669822e848c v0.10
2ecc611d198f83fba40d38ec18e1aab8cece72d6 v0.11
1c769ae67af472949a8528a788f7fc6f3b3ee903 v0.12