aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-08-02 10:41:48 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-08-02 10:41:48 +0000
commit387e8de751ec4dd446e9da669307407049fa0082 (patch)
treea7ee2bf20059523f64d31850da67d9d481f36b9c /main.c
parentdoc: foot.1: fix default path in -s,--server (diff)
main: update --help with correct default path for -s,--server
I missed this in f3c301ee8b94c3354080695326ceedc7a3866321 when fixing
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 4056fe39..c677b22d 100644
--- a/main.c
+++ b/main.c
@@ -45,7 +45,7 @@ print_usage(const char *prog_name)
"Usage: %s [OPTIONS...] command [ARGS...]\n"
"\n"
"Options:\n"
- " -c,--config=PATH load configuration from PATH (XDG_CONFIG_HOME/footrc)\n"
+ " -c,--config=PATH load configuration from PATH ($XDG_CONFIG_HOME/footrc)\n"
" --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"
@@ -56,7 +56,7 @@ print_usage(const char *prog_name)
" --login-shell start shell as a login shell\n"
" -g,--geometry=WIDTHxHEIGHT set initial width and height\n"
" -s,--server[=PATH] run as a server (use 'footclient' to start terminals).\n"
- " Without PATH, XDG_RUNTIME_DIR/foot.sock will be used.\n"
+ " Without PATH, $XDG_RUNTIME_DIR/foot-$XDG_SESSION_ID.sock will be used.\n"
" --hold remain open after child process exits\n"
" -p,--print-pid=FILE|FD print PID to file or FD (only applicable in server mode)\n"
" -l,--log-colorize=[never|always|auto] enable/disable colorization of log output on stderr\n"