From 1209bd94b60cb85c756d937ad9cada69f2428397 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 21 Feb 2015 23:16:52 +0100 Subject: Add a -c/--check-config option to check the config file It displays the missing options and the ones which are changed from the default values. --- src/poezio.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/poezio.py') diff --git a/src/poezio.py b/src/poezio.py index 1a5a257e..7a83f510 100644 --- a/src/poezio.py +++ b/src/poezio.py @@ -59,6 +59,10 @@ def main(): from config import options + if options.check_config: + config.check_config() + sys.exit(0) + import theming theming.update_themes_dir() -- cgit v1.2.3