aboutsummaryrefslogtreecommitdiffstats
path: root/src/opt.c
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2021-01-09 14:30:51 -0700
committerkatherine <ageha@airen-no-jikken.icu>2021-01-09 14:30:51 -0700
commitbad02f6ac0b272df131608b12b650795c0088e8f (patch)
treef58e9a00230108f66457721f0242f871090bc8dd /src/opt.c
parent5113a9fd817e5df67b3b9cf9cf3a4fee715587b8 (diff)
downloadevery-master.tar.gz
line-delim -> line-termHEADmaster
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;