--- a/plugin_pack.py Thu Jul 03 08:38:39 2008 -0400
+++ b/plugin_pack.py Thu Jul 03 08:55:38 2008 -0400
@@ -194,7 +194,17 @@
print 'command \'%s\' was not found' % args[0]
+ print self.help.__doc__ + print ' help <command>' + print 'Available commands:' + cmds = self.commands.keys() + print ' %s' % (string.join(cmds, ' ')) def dist_dirs(self, args):
@@ -291,6 +301,8 @@
commands['build_dirs'] = build_dirs
def list_plugins(self, args):
+ """Displays a list similiar to 'dpkg -l' about the plugin pack""" # create an array for the widths, we initialize it to the lengths of
@@ -430,6 +442,7 @@
commands['dependency_graph'] = dependency_graph
def debian_description(self, args):
+ """Outputs the description for the Debian packages""" print 'Description: %d useful plugins for Pidgin, Finch, and Purple' % len(self.plugins)
print ' The Plugin Pack is a collection of many simple-yet-useful plugins for Pidgin,'
print ' Finch, and Purple. You will find a summary of each plugin below. For more'
@@ -445,6 +458,7 @@
print ' %s: %s' % (plugin.name, plugin.summary)
print ' Homepage: %s' % webpage
commands['debian_description'] = debian_description