summaryrefslogtreecommitdiff
path: root/finch/libfinch.c
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2017-10-05 22:23:56 -0500
committerGary Kramlich <grim@reaperworld.com>2017-10-05 22:23:56 -0500
commit91a1cc5c15eadf0b71fc696f12cce7c6ae238347 (patch)
tree31286e1b3532e12c2981bb3ab2d82e1d4ae43744 /finch/libfinch.c
parent703788e0d1f8e6bb00e874ea9c56159fb64f2b48 (diff)
downloadpidgin-91a1cc5c15eadf0b71fc696f12cce7c6ae238347.tar.gz
The start of the libpurple option group
Diffstat (limited to 'finch/libfinch.c')
-rw-r--r--finch/libfinch.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/finch/libfinch.c b/finch/libfinch.c
index 14a0712330..e0e0a136f8 100644
--- a/finch/libfinch.c
+++ b/finch/libfinch.c
@@ -29,6 +29,7 @@
#include "glibcompat.h"
#include "log.h"
#include "notify.h"
+#include "options.h"
#include "plugins.h"
#include "protocol.h"
#include "pounce.h"
@@ -146,9 +147,6 @@ init_libpurple(int argc, char **argv)
{"config", 'c', 0,
G_OPTION_ARG_FILENAME, &opt_config_dir_arg,
_("use DIR for config files"), _("DIR")},
- {"debug", 'd', 0,
- G_OPTION_ARG_NONE, &debug_enabled,
- _("print debugging messages to stderr"), NULL},
{"nologin", 'n', 0,
G_OPTION_ARG_NONE, &opt_nologin,
_("don't automatically login"), NULL},
@@ -170,6 +168,7 @@ init_libpurple(int argc, char **argv)
g_option_context_set_summary(context, DISPLAY_VERSION);
g_option_context_add_main_entries(context, option_entries, PACKAGE);
+ g_option_context_add_group(context, purple_get_option_group());
g_option_context_add_group(context, gplugin_get_option_group());
#ifdef G_OS_WIN32