From 61c448fea117106e39cf4b0957f8f77a192b8a6a Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 19 Dec 2012 13:42:35 +0100 Subject: [PATCH] obexd: Reorder command line options --- obexd/src/main.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/obexd/src/main.c b/obexd/src/main.c index 5d037173d..9e3812621 100644 --- a/obexd/src/main.c +++ b/obexd/src/main.c @@ -158,12 +158,16 @@ static gboolean parse_debug(const char *key, const char *value, } static GOptionEntry options[] = { - { "nodaemon", 'n', G_OPTION_FLAG_REVERSE, - G_OPTION_ARG_NONE, &option_detach, - "Run with logging in foreground" }, { "debug", 'd', G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, parse_debug, "Enable debug information output", "DEBUG" }, + { "plugin", 'p', 0, G_OPTION_ARG_STRING, &option_plugin, + "Specify plugins to load", "NAME,..." }, + { "noplugin", 'P', 0, G_OPTION_ARG_STRING, &option_noplugin, + "Specify plugins not to load", "NAME,..." }, + { "nodetach", 'n', G_OPTION_FLAG_REVERSE, + G_OPTION_ARG_NONE, &option_detach, + "Run with logging in foreground" }, { "root", 'r', 0, G_OPTION_ARG_STRING, &option_root, "Specify root folder location. Both absolute " "and relative can be used, but relative paths " @@ -179,10 +183,6 @@ static GOptionEntry options[] = { "scripts", "FILE" }, { "auto-accept", 'a', 0, G_OPTION_ARG_NONE, &option_autoaccept, "Automatically accept push requests" }, - { "plugin", 'p', 0, G_OPTION_ARG_STRING, &option_plugin, - "Specify plugins to load", "NAME,..." }, - { "noplugin", 'P', 0, G_OPTION_ARG_STRING, &option_noplugin, - "Specify plugins not to load", "NAME,..." }, { NULL }, }; -- 2.47.3