4 int help(sqlite3
*db
, MArray tokens
) {
5 printf("Available commands:\n");
6 printf(" add adds a todo\n");
7 printf(" del deletes a single todo\n");
8 printf(" help prints this help\n");
9 printf(" list lists all the todos\n");
10 printf(" quit exits the program\n");
11 printf(" show shows a single todo\n");
12 printf(" mark marks a todo as done\n");
13 printf(" unmark marks a todo as not done\n");
14 printf("For additional information on a particular command, use '<command> help', e.g. 'list help'.\n");