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

@ -15,6 +15,10 @@ arguments, to execute (instead of the default shell).
*-c*,*--config*=_PATH_
Path to configuration file. Default: *XDG_CONFIG_HOME/footrc*.
*--check-config*
Verify configuration and then exit with 0 if ok, otherwise exit
with 1.
*-f*,*--font*=_FONT_
Comma separated list of fonts to use, in fontconfig format (see
*FONT FORMAT*).