aboutsummaryrefslogtreecommitdiffstats
path: root/src/opt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/opt.c')
-rw-r--r--src/opt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/opt.c b/src/opt.c
index 6a958a6..40743cb 100644
--- a/src/opt.c
+++ b/src/opt.c
@@ -17,8 +17,8 @@ static struct simple_opt options[] = {
"path to calendar file", "FILE" },
{ SIMPLE_OPT_STRING, 'e', "editor", true,
"text editor for editing calendars", "CMD" },
- { SIMPLE_OPT_CHAR, '\0', "line-delim", true,
- "line delimiter for scripting output" },
+ { SIMPLE_OPT_CHAR, '\0', "line-term", true,
+ "line terminator for scripting output" },
{ SIMPLE_OPT_CHAR, '\0', "col-delim", true,
"column delimiter for scripting output" },
{ SIMPLE_OPT_END }
@@ -99,7 +99,7 @@ char* opt_editor(void)
return getenv("EDITOR");
}
-char opt_line_delim(void)
+char opt_line_term(void)
{
if (options[4].was_seen)
return options[4].val.v_char;