mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Renamed /status -> /info
This commit is contained in:
parent
0618c61d6e
commit
c87eeee836
@ -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_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_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_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);
|
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!",
|
"Example : /msg boothj5@gmail.com Hey, here's a message!",
|
||||||
NULL } } },
|
NULL } } },
|
||||||
|
|
||||||
{ "/status",
|
{ "/info",
|
||||||
_cmd_status,
|
_cmd_info,
|
||||||
{ "/status user@host", "Find out a contacts status.",
|
{ "/info user@host", "Find out a contacts presence information.",
|
||||||
{ "/status user@host",
|
{ "/info user@host",
|
||||||
"-----------------",
|
"---------------",
|
||||||
"Find out someones presence information.",
|
"Find out someones presence information.",
|
||||||
"Use tab completion to autocomplete the contact.",
|
"Use tab completion to autocomplete the contact.",
|
||||||
NULL } } },
|
NULL } } },
|
||||||
@ -811,7 +811,7 @@ _cmd_complete_parameters(char *input, int *size)
|
|||||||
|
|
||||||
_parameter_autocomplete(input, size, "/msg",
|
_parameter_autocomplete(input, size, "/msg",
|
||||||
contact_list_find_contact);
|
contact_list_find_contact);
|
||||||
_parameter_autocomplete(input, size, "/status",
|
_parameter_autocomplete(input, size, "/info",
|
||||||
contact_list_find_contact);
|
contact_list_find_contact);
|
||||||
_parameter_autocomplete(input, size, "/connect",
|
_parameter_autocomplete(input, size, "/connect",
|
||||||
prefs_find_login);
|
prefs_find_login);
|
||||||
@ -1206,7 +1206,7 @@ _cmd_msg(const char * const inp, struct cmd_help_t help)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
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;
|
char *usr = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user