# HG changeset patch # User Josef "Jeff" Sipek # Date 1156033422 14400 # Node ID 2ecc611d198f83fba40d38ec18e1aab8cece72d6 # Parent b5370c42288b78d29ee9e32fb10f6f3f94210609 Added more helpful strings for the help strings diff -r b5370c42288b -r 2ecc611d198f vixm/control.py --- a/vixm/control.py Sat Aug 19 20:18:57 2006 -0400 +++ b/vixm/control.py Sat Aug 19 20:23:42 2006 -0400 @@ -28,7 +28,7 @@ def cmd_help(ui, start, stop, args): for c in args[0]: - print "\t%s" % (args[0][c][2],) + print " %s\t%s" % (args[0][c][2],args[0][c][3]) def do_list(ui, start, stop, number, args): # get the list id from the argument or default to diff -r b5370c42288b -r 2ecc611d198f vixm/ui.py --- a/vixm/ui.py Sat Aug 19 20:18:57 2006 -0400 +++ b/vixm/ui.py Sat Aug 19 20:23:42 2006 -0400 @@ -109,17 +109,35 @@ # (function to call, range allowed, help str) self.cmdtable = { "q([!]){,1}": - (control.cmd_quit, False, "q[!]"), + (control.cmd_quit, + False, + "q[!]", + "quit"), "n( ([0-9]+)){,1}": - (control.cmd_number, True, "[range]n [playlistid]"), + (control.cmd_number, + True, + "[range]n [playlistid]", + "numbered display of lines in range in playlistid"), "l( ([0-9]+)){,1}": - (control.cmd_list, True, "[range]l [playlistid]"), + (control.cmd_list, + True, + "[range]l [playlistid]", + "list lines in range in playlistid"), "a ([0-9]+)": - (control.cmd_enqueue, False, "a [songid]"), + (control.cmd_enqueue, + False, + "a [songid]", + "add songid from default to priority"), "d ([0-9]+)": - (control.cmd_dequeue, False, "d [songid]"), + (control.cmd_dequeue, + False, + "d [songid]", + "remove songid from priority"), "h": - (control.cmd_help, False, "h"), + (control.cmd_help, + False, + "h", + "this help list"), } def enqueue(self, id):