mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Update nTox.c
Edited help message.
This commit is contained in:
parent
f1486e5092
commit
20e4cd0a17
|
@ -177,7 +177,7 @@ void line_eval(char lines[HISTORY][STRING_LENGTH], char *line)
|
||||||
|
|
||||||
else if (line[1] == 'h') { //help
|
else if (line[1] == 'h') { //help
|
||||||
new_lines("[i] commands: /f ID (to add friend), /m friendnumber message (to send message), /s status (to change status)");
|
new_lines("[i] commands: /f ID (to add friend), /m friendnumber message (to send message), /s status (to change status)");
|
||||||
new_lines("[i] /l list (list friends), /h for help, /n nick (to change nickname), /q (to quit)");
|
new_lines("[i] /l list (list friends), /h for help, /i for info, /n nick (to change nickname), /q (to quit)");
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (line[1] == 'i') { //info
|
else if (line[1] == 'i') { //info
|
||||||
|
@ -390,7 +390,7 @@ int main(int argc, char *argv[])
|
||||||
getmaxyx(stdscr,y,x);
|
getmaxyx(stdscr,y,x);
|
||||||
new_lines(idstring0);
|
new_lines(idstring0);
|
||||||
new_lines("[i] commands: /f ID (to add friend), /m friendnumber message (to send message), /s status (to change status)");
|
new_lines("[i] commands: /f ID (to add friend), /m friendnumber message (to send message), /s status (to change status)");
|
||||||
new_lines("[i] /l list (list friends), /n nick (to change nickname), /q (to quit)");
|
new_lines("[i] /l list (list friends), /h for help, /i for info, /n nick (to change nickname), /q (to quit)");
|
||||||
strcpy(line, "");
|
strcpy(line, "");
|
||||||
IP_Port bootstrap_ip_port;
|
IP_Port bootstrap_ip_port;
|
||||||
bootstrap_ip_port.port = htons(atoi(argv[2]));
|
bootstrap_ip_port.port = htons(atoi(argv[2]));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user