Make GREP work on Windows, regexp support isn't implemented in fe_lastlog yet
This commit is contained in:
parent
6533b75313
commit
22cde0e5a2
@ -3598,7 +3598,7 @@ const struct commands xc_cmds[] = {
|
|||||||
{"LAGCHECK", cmd_lagcheck, 0, 0, 1,
|
{"LAGCHECK", cmd_lagcheck, 0, 0, 1,
|
||||||
N_("LAGCHECK, forces a new lag check")},
|
N_("LAGCHECK, forces a new lag check")},
|
||||||
{"LASTLOG", cmd_lastlog, 0, 0, 1,
|
{"LASTLOG", cmd_lastlog, 0, 0, 1,
|
||||||
N_("LASTLOG <string>, searches for a string in the buffer")},
|
N_("LASTLOG [-r] <string>, searches for a string in the buffer")},
|
||||||
{"LIST", cmd_list, 1, 0, 1, 0},
|
{"LIST", cmd_list, 1, 0, 1, 0},
|
||||||
{"LOAD", cmd_load, 0, 0, 1, N_("LOAD [-e] <file>, loads a plugin or script")},
|
{"LOAD", cmd_load, 0, 0, 1, N_("LOAD [-e] <file>, loads a plugin or script")},
|
||||||
|
|
||||||
|
@ -591,7 +591,11 @@ static char defaultconf_commands[] =
|
|||||||
"NAME DIALOG\n" "CMD query %2\n\n"\
|
"NAME DIALOG\n" "CMD query %2\n\n"\
|
||||||
"NAME DMSG\n" "CMD msg =%2 &3\n\n"\
|
"NAME DMSG\n" "CMD msg =%2 &3\n\n"\
|
||||||
"NAME EXIT\n" "CMD quit\n\n"\
|
"NAME EXIT\n" "CMD quit\n\n"\
|
||||||
|
#ifdef WIN32 /* lastlog -r isn't implemented in fe_lastlog yet */
|
||||||
|
"NAME GREP\n" "CMD lastlog &2\n\n"\
|
||||||
|
#else
|
||||||
"NAME GREP\n" "CMD lastlog -r &2\n\n"\
|
"NAME GREP\n" "CMD lastlog -r &2\n\n"\
|
||||||
|
#endif
|
||||||
"NAME IGNALL\n" "CMD ignore %2!*@* ALL\n\n"\
|
"NAME IGNALL\n" "CMD ignore %2!*@* ALL\n\n"\
|
||||||
"NAME J\n" "CMD join &2\n\n"\
|
"NAME J\n" "CMD join &2\n\n"\
|
||||||
"NAME KILL\n" "CMD quote KILL %2 :&3\n\n"\
|
"NAME KILL\n" "CMD quote KILL %2 :&3\n\n"\
|
||||||
|
Loading…
Reference in New Issue
Block a user