From 70ed25c418ad92a440b55a77fb70e64f0de3ba43 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 19 Feb 2026 11:35:21 +0100 Subject: [PATCH] cleanup: Initialize GOptionEntry entries correctly The `arg_description` field was forgotten in 034a98587. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 4ef8bd0d..03ae9a85 100644 --- a/src/main.c +++ b/src/main.c @@ -78,7 +78,7 @@ main(int argc, char** argv) GOptionEntry entries[] = { { "version", 'v', 0, G_OPTION_ARG_NONE, &version, "Show version information", NULL }, - { "account", 'a', 0, G_OPTION_ARG_STRING, &account_name, "Auto connect to an account on startup" }, + { "account", 'a', 0, G_OPTION_ARG_STRING, &account_name, "Auto connect to an account on startup", NULL }, { "log", 'l', 0, G_OPTION_ARG_STRING, &log, "Set logging levels, DEBUG, INFO, WARN (default), ERROR", "LEVEL" }, { "config", 'c', 0, G_OPTION_ARG_STRING, &config_file, "Use an alternative configuration file", NULL }, { "logfile", 'f', 0, G_OPTION_ARG_STRING, &log_file, "Specify log file", NULL },