From bf1a574cfd9bfbef7e1d5aa08c22a494d7733e95 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 9 Dec 2012 00:26:08 +0000 Subject: [PATCH] Changed help on /theme --- src/command.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/command.c b/src/command.c index c81a7618..a9ca5edf 100644 --- a/src/command.c +++ b/src/command.c @@ -198,10 +198,10 @@ static struct cmd_t main_commands[] = NULL } } }, { "/theme", - _cmd_theme, parse_args, 1, 1, - { "/theme [theme-name]", "Change colour theme.", - { "/theme [theme-name]", - "--------------", + _cmd_theme, parse_args, 1, 2, + { "/theme command [theme-name]", "Change colour theme.", + { "/theme command [theme-name]", + "---------------------------", "Change the colour setting as defined in:", "", " $XDG_CONFIG_HOME/profanity/themes/theme-name", @@ -210,7 +210,12 @@ static struct cmd_t main_commands[] = "", " $HOME/.config/profanity/themes/theme-name", "", - "Using \"default\" as the theme name will reset to the default colours.", + "Command must be one of 'list' or 'load'.", + "list : List all available themes.", + "load [theme-name] : Load the named theme.\"default\" will reset to the default colours.", + "", + "Example : /theme list", + "Example : /theme load mycooltheme", NULL } } }, { "/msg",