aboutsummaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-11-23 18:19:19 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-11-23 18:19:19 +0000
commit8eaa1959904ecff0e7e75d152220344457912f76 (patch)
tree9db22b78c157f9c86ab8649bf0fc5f35069747d5 /completions
parentchangelog: add issue ref to footclient -w/-W (diff)
foot/footclient: add short options to all command line options
e81388336750a20a2da98a57e9726c8ba1b481e3 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().
Diffstat (limited to 'completions')
-rw-r--r--completions/zsh/_foot12
-rw-r--r--completions/zsh/_footclient10
2 files changed, 11 insertions, 11 deletions
diff --git a/completions/zsh/_foot b/completions/zsh/_foot
index b9019b93..cfcd9533 100644
--- a/completions/zsh/_foot
+++ b/completions/zsh/_foot
@@ -3,18 +3,18 @@
_arguments \
-s -S -C \
'(-c --config)'{-c,--config}'[path to configuration file (XDG_CONFIG_HOME/footrc)]:config:_files' \
- '--check-config[verify configuration and exit with 0 if ok, otherwise exit with 1]' \
+ '(-C --check-config)'{-C,--check-config}'[verify configuration and exit with 0 if ok, otherwise exit with 1]' \
'(-f --font)'{-f,--font}'[font name and style in fontconfig format (monospace)]:font:->fonts' \
'(-t --term)'{-t,--term}'[value to set the environment variable TERM to (foot)]:term:->terms' \
- '--title[initial window title]:()' \
+ '(-T --title)'{-T,--title}'[initial window title]:()' \
'(-a --app-id)'{-a,--app-id}'[value to set the app-id property on the Wayland window to (foot)]:()' \
- '--maximized[start in maximized mode]' \
- '--fullscreen[start in fullscreen mode]' \
- '--login-shell[start shell as a login shell]' \
+ '(-m --maximized)'{-m,--maximized}'[start in maximized mode]' \
+ '(-F --fullscreen)'{-F,--fullscreen}'[start in fullscreen mode]' \
+ '(-L --login-shell)'{-L,--login-shell}'[start shell as a login shell]' \
'(-w --window-size-pixels)'{-w,--window-size-pixels}'[window WIDTHxHEIGHT, in pixels (700x500)]:size_pixels:()' \
'(-W --window-size-chars)'{-W,--window-size-chars}'[window WIDTHxHEIGHT, in characters (not set)]:size_chars:()' \
'(-s --server)'{-s,--server}'[run as server; open terminals by running footclient]:server:_files' \
- '--hold[remain open after child process exits]' \
+ '(-H --hold)'{-H,--hold}'[remain open after child process exits]' \
'(-p --print-pid)'{-p,--print-pid}'[print PID to this file or FD when up and running (server mode only)]:pidfile:_files' \
'(-l --log-colorize)'{-l,--log-colorize}'[enable or disable colorization of log output on stderr]:logcolor:(never always auto)' \
'(-S --log-no-syslog)'{-s,--log-no-syslog}'[disable syslog logging (server mode only)]' \
diff --git a/completions/zsh/_footclient b/completions/zsh/_footclient
index 3c375fd1..26aa2c5c 100644
--- a/completions/zsh/_footclient
+++ b/completions/zsh/_footclient
@@ -3,15 +3,15 @@
_arguments \
-s -S -C \
'(-t --term)'{-t,--term}'[value to set the environment variable TERM to (foot)]:term:->terms' \
- '--title[initial window title]:()' \
+ '(-T --title)'{-T,--title}'[initial window title]:()' \
'(-a --app-id)'{-a,--app-id}'[value to set the app-id property on the Wayland window to (foot)]:()' \
- '--maximized[start in maximized mode]' \
- '--fullscreen[start in fullscreen mode]' \
- '--login-shell[start shell as a login shell]' \
+ '(-m --maximized)'{-m,--maximized}'[start in maximized mode]' \
+ '(-F --fullscreen)'{-F,--fullscreen}'[start in fullscreen mode]' \
+ '(-L --login-shell)'{-L,--login-shell}'[start shell as a login shell]' \
'(-w --window-size-pixels)'{-w,--window-size-pixels}'[window WIDTHxHEIGHT, in pixels (700x500)]:size_pixels:()' \
'(-W --window-size-chars)'{-W,--window-size-chars}'[window WIDTHxHEIGHT, in characters (not set)]:size_chars:()' \
'(-s --server-socket)'{-s,--server-socket}'[override the default path to the foot server socket ($XDG_RUNTIME_DIR/foot-$WAYLAND_DISPLAY.sock)]:server:_files' \
- '--hold[remain open after child process exits]' \
+ '(-H --hold)'{-H,--hold}'[remain open after child process exits]' \
'(-l --log-colorize)'{-l,--log-colorize}'[enable or disable colorization of log output on stderr]:logcolor:(never always auto)' \
'(-v --version)'{-v,--version}'[show the version number and quit]' \
'(-h --help)'{-h,--help}'[show help message and quit]' \