aboutsummaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-12 08:02:25 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-12 08:02:25 +0000
commit59b127dc6909399711aef48149f86845b46dbd1f (patch)
tree0c5c412e8f487f758cfb60f8517ffeb63193f31e /client.c
parentchangelog: use standard signals for SIGCHLD (diff)
main/client: add missing short options to usage (--help output)
Initially, these options *did not* have short options. Then, in e81388336750a20a2da98a57e9726c8ba1b481e3, the short options were added to footclient’s getopt_long() call. This was in a sense incorrect. But instead of reverting it, the short options were made official in 8eaa1959904ecff0e7e75d152220344457912f76, by adding the short options to foot, documenting them in the man pages, and adding them to the shell completions. Though the commit message of 8eaa1959904ecff0e7e75d152220344457912f76 says the options have now been included in usage(), they were in fact *not* added to usage. This patch does just that.
Diffstat (limited to 'client.c')
-rw-r--r--client.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/client.c b/client.c
index bf9264ee..73b243f7 100644
--- a/client.c
+++ b/client.c
@@ -47,15 +47,15 @@ print_usage(const char *prog_name)
printf("\n");
printf("Options:\n");
printf(" -t,--term=TERM value to set the environment variable TERM to (foot)\n"
- " --title=TITLE initial window title (foot)\n"
+ " -T,--title=TITLE initial window title (foot)\n"
" -a,--app-id=ID window application ID (foot)\n"
" -w,--window-size-pixels=WIDTHxHEIGHT initial width and height, in pixels\n"
" -W,--window-size-chars=WIDTHxHEIGHT initial width and height, in characters\n"
- " --maximized start in maximized mode\n"
- " --fullscreen start in fullscreen mode\n"
- " --login-shell start shell as a login shell\n"
+ " -m,--maximized start in maximized mode\n"
+ " -F,--fullscreen start in fullscreen mode\n"
+ " -L,--login-shell start shell as a login shell\n"
" -s,--server-socket=PATH path to the server UNIX domain socket (default=$XDG_RUNTIME_DIR/foot-$WAYLAND_DISPLAY.sock)\n"
- " --hold remain open after child process exits\n"
+ " -H,--hold remain open after child process exits\n"
" -d,---log-level={info|warning|error} log level (info)\n"
" -l,--log-colorize=[{never|always|auto}] enable/disable colorization of log output on stderr\n"
" -v,--version show the version number and quit\n");