? libbonobo-zip
Index: bonobo-activation/bonobo-activation-init.c
===================================================================
RCS file: /cvs/gnome/libbonobo/bonobo-activation/bonobo-activation-init.c,v
retrieving revision 1.62
diff -u -r1.62 bonobo-activation-init.c
--- bonobo-activation/bonobo-activation-init.c	25 Feb 2005 02:40:14 -0000	1.62
+++ bonobo-activation/bonobo-activation-init.c	19 Jun 2005 18:16:41 -0000
@@ -262,6 +262,26 @@
         { NULL }
 };
 
+GOptionEntry bonobo_activation_goption_options[] = {
+        { "oaf-ior-fd", '\0', 0,  G_OPTION_ARG_INT, &bonobo_activation_ior_fd, 
+          N_("File descriptor to print IOR on"), N_("FD") },
+        { "oaf-activate-iid", '\0', 0, G_OPTION_ARG_STRING, &bonobo_activation_activate_iid, 
+          N_("IID to activate"), "IID" },
+        { "oaf-private", '\0', 0, G_OPTION_ARG_NONE, &bonobo_activation_private, 
+          N_("Prevent registering of server with OAF"), NULL },
+        { NULL }
+};
+
+GOptionGroup * bonobo_activation_get_goption_group ()
+{
+	GOptionGroup * bonobo_activation_group;
+	bonobo_activation_group = g_option_group_new("bonbo_activation",_("Bonobo Activation"), _("Show Bonobo Activation Options"), NULL, NULL);
+	g_option_group_add_entries(bonobo_activation_group, bonobo_activation_goption_options);
+	g_option_group_set_translation_domain (bonobo_activation_group, GETTEXT_PACKAGE);
+
+	return bonobo_activation_group;
+}
+
 /**
  * bonobo_activation_activation_iid_get:
  *
Index: bonobo-activation/bonobo-activation-init.h
===================================================================
RCS file: /cvs/gnome/libbonobo/bonobo-activation/bonobo-activation-init.h,v
retrieving revision 1.9
diff -u -r1.9 bonobo-activation-init.h
--- bonobo-activation/bonobo-activation-init.h	25 Feb 2005 02:40:14 -0000	1.9
+++ bonobo-activation/bonobo-activation-init.h	19 Jun 2005 18:16:41 -0000
@@ -26,6 +26,7 @@
 
 #include <orbit/orbit.h>
 #include <popt.h>
+#include <glib/goption.h>
 
 G_BEGIN_DECLS
 
@@ -55,6 +56,8 @@
 
 extern struct poptOption bonobo_activation_popt_options[];
 
+GOptionGroup * bonobo_activation_get_goption_group();
+
 G_END_DECLS
 
 #endif /* BONOBO_ACTIVATION_INIT_H */
