More features

This commit is contained in:
Mike Dvorkin
2010-08-01 11:47:48 -07:00
parent 0da661e4ea
commit f84c7ea8f1
14 changed files with 264 additions and 168 deletions

View File

@@ -7,8 +7,7 @@
PTable projects;
PTable tasks;
PTable notes;
PTable activities;
PTable users;
PTable actions;
static int usage() {
printf("usage...\n");
@@ -62,7 +61,7 @@ int main(int argc, char *argv[]) {
} else if (strstr(commands[2], argv[1]) == commands[2]) {
return 1; /* pit_note(&argv[1]); */
} else if (strstr(commands[3], argv[1]) == commands[3]) {
return 1; /* pit_log(&argv[1]); */
return pit_log(&argv[1]);
} else if (strstr(commands[4], argv[1]) == commands[4]) {
return pit_init(&argv[1]);
}