foot/footclient: add short options to all command line options

e813883367 added “missing” short command
line options to footclient.

Except they weren’t missing; they were intentionally missing short
options and only supported long options.

This commit makes the new/missing short options “official”, by adding
documentation, zsh completions and including them in usage().
This commit is contained in:
Daniel Eklöf 2020-11-23 19:19:19 +01:00
parent 9ab1235b97
commit 8eaa195990
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 24 additions and 22 deletions

View file

@ -25,7 +25,7 @@ terminal has terminated).
*-t*,*--term*=_TERM_
Value to set the environment variable *TERM* to. Default: _foot_.
*--title*=_TITLE_
*-T*,*--title*=_TITLE_
Initial window title. Default: _foot_.
*-a*,*--app-id*=_ID_
@ -38,22 +38,22 @@ terminal has terminated).
*-W*,*--window-size-chars*=_WIDTHxHEIGHT_
Set initial window width and height, in characters. Default: _not set_.
*--maximized*
*-m*,*--maximized*
Start in maximized mode. If both *--maximized* and *--fullscreen*
are specified, the _last_ one takes precedence.
*--fullscreen*
*-F*,*--fullscreen*
Start in fullscreen mode. If both *--maximized* and *--fullscreen*
are specified, the _last_ one takes precedence.
*--login-shell*
*-L*,*--login-shell*
Start a login shell, by prepending a '-' to argv[0].
*-s*,*--server-socket*=_PATH_
Connect to _PATH_ instead of
*$XDG\_RUNTIME\_DIR/foot-$WAYLAND\_DISPLAY.sock*.
*--hold*
*-H*,*--hold*
Remain open after child process exits.
*-l*,*--log-colorize*=[{*never*,*always*,*auto*}]