Avoid unwanted log messages during startup.
[paraslash.git] / afh.c
diff --git a/afh.c b/afh.c
index 4c65d7c..699a6d8 100644 (file)
--- a/afh.c
+++ b/afh.c
@@ -72,8 +72,8 @@ int main(int argc, char **argv)
        struct afh_info afhi;
 
        afh_cmdline_parser(argc, argv, &conf);
-       HANDLE_VERSION_FLAG("afh", conf);
        loglevel = get_loglevel_by_name(conf.loglevel_arg);
+       HANDLE_VERSION_FLAG("afh", conf);
        ret = -E_AFH_SYNTAX;
        if (conf.inputs_num == 0)
                goto out;