From 12ee4ba3e3e70750f8aa20dfff0615673f1762f6 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sun, 10 Apr 2011 01:32:50 -0400 Subject: [PATCH] color for git help --- actions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actions.py b/actions.py index 3ef6b2e..51d0753 100644 --- a/actions.py +++ b/actions.py @@ -44,7 +44,8 @@ def cmd_git(nick, host, chan, msg): # commands to interface with the bot's git r return if args[0] == "help": # display all commands - cmds = ["branch (show current branch)", "branches (show all branches)", "checkout (switch branches)", "pull (update current branch)"] + cmds = ["\x0303branch\x0301 (show current branch)", "\x0303branches\x0301 (show all branches)", + "\x0303checkout\x0301 (switch branches)", "\x0303pull\x0301 (update current branch)"] cmds = ', '.join(cmds) say(chan, "\x02%s\x0F: sub-commands are: %s" % (nick, cmds))