aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorChloe Kudryavtsev <toast@toast.cafe>2021-02-26 21:23:43 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-26 14:15:05 +0000
commit80b95eeb7e66e287a214ca61f765b7da78f2bc2c (patch)
treef73d5da662b6677b4c2b29ffee5e8fc6acb482b9 /main.c
parentgrid: snapshot: don’t mark all cells as dirty - copy state from source grid (diff)
config: reuse HAVE_TERMINFO via DEFAULT_TERM
add detection in --help output also make it more easily accessible for other locations to change
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index f02aa0cb..0941d3db 100644
--- a/main.c
+++ b/main.c
@@ -61,7 +61,7 @@ print_usage(const char *prog_name)
" -c,--config=PATH load configuration from PATH ($XDG_CONFIG_HOME/foot/foot.ini)\n"
" -C,--check-config verify configuration, exit with 0 if ok, otherwise exit with 1\n"
" -f,--font=FONT comma separated list of fonts in fontconfig format (monospace)\n"
- " -t,--term=TERM value to set the environment variable TERM to (foot)\n"
+ " -t,--term=TERM value to set the environment variable TERM to (%s)\n"
" -T,--title=TITLE initial window title (foot)\n"
" -a,--app-id=ID window application ID (foot)\n"
" -m,--maximized start in maximized mode\n"
@@ -78,7 +78,7 @@ print_usage(const char *prog_name)
" -l,--log-colorize=[{never|always|auto}] enable/disable colorization of log output on stderr\n"
" -s,--log-no-syslog disable syslog logging (only applicable in server mode)\n"
" -v,--version show the version number and quit\n",
- prog_name, prog_name);
+ prog_name, prog_name, DEFAULT_TERM);
}
bool