diff options
author | Aurelien Gateau <aurelien.gateau@canonical.com> | 2010-07-20 15:03:39 +0200 |
---|---|---|
committer | Aurelien Gateau <aurelien.gateau@canonical.com> | 2010-07-20 15:03:39 +0200 |
commit | 70961ba202ced579d434e19f185f442684814722 (patch) | |
tree | 0141c54b378c7906ff366ee86bb9700f85a5cd64 | |
parent | 463b05a77a8e21e60ffe197f58461b0fb02ed930 (diff) | |
download | libdbusmenu-70961ba202ced579d434e19f185f442684814722.tar.gz libdbusmenu-70961ba202ced579d434e19f185f442684814722.tar.bz2 libdbusmenu-70961ba202ced579d434e19f185f442684814722.zip |
Unbreak command line parser
-rw-r--r-- | tools/dbusmenu-dumper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dbusmenu-dumper.c b/tools/dbusmenu-dumper.c index 4ddb057..82ca5c1 100644 --- a/tools/dbusmenu-dumper.c +++ b/tools/dbusmenu-dumper.c @@ -314,7 +314,8 @@ usage (void) static GOptionEntry general_options[] = { {"dbus-name", 'd', 0, G_OPTION_ARG_CALLBACK, option_dbusname, "The name of the program to connect to (i.e. org.test.bob", "dbusname"}, - {"dbus-object", 'o', 0, G_OPTION_ARG_CALLBACK, option_dbusobject, "The path to the Dbus object (i.e /org/test/bob/alvin)", "dbusobject"} + {"dbus-object", 'o', 0, G_OPTION_ARG_CALLBACK, option_dbusobject, "The path to the Dbus object (i.e /org/test/bob/alvin)", "dbusobject"}, + {NULL} }; int @@ -350,7 +351,6 @@ main (int argc, char ** argv) return 1; } g_debug("dbusname: %s, dbusobject: %s", dbusname, dbusobject); - return 1; } else { if (dbusname == NULL) { g_printerr("ERROR: dbus-name not specified\n"); |