fix entries file

This commit is contained in:
Liam Waldron 2023-04-14 10:39:11 -04:00
parent 46f0a63b98
commit 3d311eac5b

View File

@ -15,7 +15,9 @@ char mkevent(int argc, char *argv[]) {
printf("ensure the events file defined in config.h exists\n" COL_RESET TXT_RESET);
exit(1);
}
fprintf(fp, "BEGIN ENTRY\n");
fprintf(fp, "%s", argv[2]); /* print date */
fprintf(fp, "%s", argv[3]); /* print name */
fprintf(fp, "END ENTRY\n");
fclose(fp);
}