summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorGreg <gamedevguy12@gmail.com>2013-07-30 11:58:51 -0400
committerGreg <gamedevguy12@gmail.com>2013-07-30 11:58:51 -0400
commit915ffaa8889eee6153b7507c838f77dbbd7905ae (patch)
treeeffab715b9ab23e278ca75b56e182c401d596335 /testing
parentc10d2317caab51797f72e20557e89d4e81287998 (diff)
Update nTox.c
Added help command to nTox.c
Diffstat (limited to 'testing')
-rw-r--r--testing/nTox.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/nTox.c b/testing/nTox.c
index f00fe200..97a39a12 100644
--- a/testing/nTox.c
+++ b/testing/nTox.c
@@ -151,6 +151,12 @@ void line_eval(char lines[HISTORY][STRING_LENGTH], char *line)
151 do_refresh(); 151 do_refresh();
152 152
153 } 153 }
154
155 else if (line[1] == 'h') { //help
156 new_lines("[i] commands: /f ID (to add friend), /m friendnumber message (to send message), /s status (to change status)");
157 new_lines("[i] /l list (list friends), /h for help, /n nick (to change nickname), /q (to quit)");
158 }
159
154 else if (line[1] == 'q') { //exit 160 else if (line[1] == 'q') { //exit
155 endwin(); 161 endwin();
156 exit(EXIT_SUCCESS); 162 exit(EXIT_SUCCESS);