aboutsummaryrefslogtreecommitdiffstats
path: root/src/opt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/opt.c')
-rw-r--r--src/opt.c4
1 files changed, 2 insertions, 2 deletions
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", "<file>" },
+ "path to calendar file", "<file>" },
{ SIMPLE_OPT_STRING, 'e', "editor", true,
"text editor for editing calendars", "<cmd>" },
{ 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);