daemon: use "-v" switch for verbose instead of "-d"
authorAlex Badea <vamposdecampos@gmail.com>
Thu, 10 Jun 2010 19:21:24 +0000 (22:21 +0300)
committerAlex Badea <vamposdecampos@gmail.com>
Thu, 10 Jun 2010 19:24:10 +0000 (22:24 +0300)
src/daemon.c

index 87d816f..3330da0 100644 (file)
@@ -152,7 +152,7 @@ int main(int argc, char *argv[])
        GError *err = NULL;
        struct app_data app;
 
        GError *err = NULL;
        struct app_data app;
 
-       if (argc > 1 && !strcmp(argv[1], "-d"))
+       if (argc > 1 && !strcmp(argv[1], "-v"))
                g_log_set_handler(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, debug_log, NULL);
 
        g_debug("init");
                g_log_set_handler(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, debug_log, NULL);
 
        g_debug("init");