Hi Daniel,
> >>> connmand -n -d 2&> log.txt
> >>
> >> connmand -n -d "*" 2&> log.txt
> >
> > both -d and -d "*" are actually the same. We fixed that. So you can be
> > nice and short ;)
>
> Are you sure? The first one gives me no DBG output. Only the second form
> works for me. And yes, I'm using the HEAD :)
static gboolean parse_debug(const char *key, const char *value,
gpointer user_data, GError **error)
{
if (value)
option_debug = g_strdup(value);
else
option_debug = g_strdup("*");
return TRUE;
}
static GOptionEntry options[] = {
{ "debug", 'd', G_OPTION_FLAG_OPTIONAL_ARG,
G_OPTION_ARG_CALLBACK, parse_debug,
"Specify debug options to enable", "DEBUG" },
Yes, I am sure. At least that is how it suppose to be ;)
Regards
Marcel
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman