From c87eeee836b5cd4830459dc48536f7097457a291 Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 14 Nov 2012 01:39:26 +0000 Subject: Renamed /status -> /info --- src/command.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/command.c b/src/command.c index 35e0968f..5093b0d3 100644 --- a/src/command.c +++ b/src/command.c @@ -113,7 +113,7 @@ static gboolean _cmd_online(const char * const inp, struct cmd_help_t help); static gboolean _cmd_dnd(const char * const inp, struct cmd_help_t help); static gboolean _cmd_chat(const char * const inp, struct cmd_help_t help); static gboolean _cmd_xa(const char * const inp, struct cmd_help_t help); -static gboolean _cmd_status(const char * const inp, struct cmd_help_t help); +static gboolean _cmd_info(const char * const inp, struct cmd_help_t help); static gboolean _cmd_wins(const char * const inp, struct cmd_help_t help); /* @@ -197,11 +197,11 @@ static struct cmd_t main_commands[] = "Example : /msg boothj5@gmail.com Hey, here's a message!", NULL } } }, - { "/status", - _cmd_status, - { "/status user@host", "Find out a contacts status.", - { "/status user@host", - "-----------------", + { "/info", + _cmd_info, + { "/info user@host", "Find out a contacts presence information.", + { "/info user@host", + "---------------", "Find out someones presence information.", "Use tab completion to autocomplete the contact.", NULL } } }, @@ -811,7 +811,7 @@ _cmd_complete_parameters(char *input, int *size) _parameter_autocomplete(input, size, "/msg", contact_list_find_contact); - _parameter_autocomplete(input, size, "/status", + _parameter_autocomplete(input, size, "/info", contact_list_find_contact); _parameter_autocomplete(input, size, "/connect", prefs_find_login); @@ -1206,7 +1206,7 @@ _cmd_msg(const char * const inp, struct cmd_help_t help) } static gboolean -_cmd_status(const char * const inp, struct cmd_help_t help) +_cmd_info(const char * const inp, struct cmd_help_t help) { char *usr = NULL; -- cgit 1.4.1-2-gfad0