mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 08:46:20 +00:00
cleanup: Initialize GOptionEntry entries correctly
The `arg_description` field was forgotten in 034a98587.
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user