From 9c37e2803b356fb4192d77678f414a5726ec7785 Mon Sep 17 00:00:00 2001 From: katherine Date: Sat, 14 Dec 2019 00:14:09 -0700 Subject: implement entry --- src/opt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/opt.c') diff --git a/src/opt.c b/src/opt.c index eebb248..31b1186 100644 --- a/src/opt.c +++ b/src/opt.c @@ -14,7 +14,7 @@ static struct simple_opt options[] = { { SIMPLE_OPT_FLAG, 'v', "version", false, "print the version of every in use and exit" }, { SIMPLE_OPT_STRING, 'c', "calendar", true, - "path to calendar", "" }, + "path to calendar file", "" }, { SIMPLE_OPT_STRING, 'e', "editor", true, "text editor for editing calendars", "" }, { SIMPLE_OPT_END } @@ -35,7 +35,7 @@ void opt_parse(int argc, char **argv) /* help */ if (options[0].was_seen) { simple_opt_print_usage(stdout, 80, argv[0], - "[-c CALENDAR_FILE] [-m OUTPUT_MODE]", + "[-c CALENDAR_FILE] [-e TEXT_EDITOR] [COMMAND]", "every is a flexible, console-based event calendar", options); -- cgit v1.2.3