From: Huck Boles Date: Fri, 6 Jan 2023 00:12:20 +0000 (-0600) Subject: version 0.2.2 X-Git-Url: https://git.huck.website/?a=commitdiff_plain;h=2f3ae2710fc40f7e4734dea36ef65685394b26a1;p=odot.git version 0.2.2 --- diff --git a/odot.c b/odot.c index f95fedb..df155be 100644 --- a/odot.c +++ b/odot.c @@ -144,13 +144,13 @@ void error(int err){ void help(){ printf("Usage: odot [subcommand] (task)\n"); - printf("Subcommands:\n"); + printf("\033[32mSubcommands\033[0m:\n"); printf("\tnew\tadd new task to database\n"); printf("\tdone\tmark task as done in database\n"); printf("\tupdate\tupdate task group, requires -G\n"); printf("\tshow\tshow tasks in database\n"); printf("\tremove\tremove task from database\t\n"); - printf("Option flags:\n"); + printf("\033[33mOption flags\033[0m:\n"); printf("\t-a\tshow all groups\n"); printf("\t-d\talso show completed tasks\n"); printf("\t-g\tset group for task\n"); @@ -159,6 +159,5 @@ void help(){ printf("\t-V\tversion information\n"); printf("\t-h\tshow this help\n"); - exit(0); }