main: add --check-config command line option

This commit is contained in:
Daniel Eklöf 2020-07-29 17:48:22 +02:00
parent d11d374252
commit 86e7cb04c4
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 19 additions and 1 deletions

View file

@ -3,6 +3,7 @@
_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]' \
'(-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]:()' \