# HG changeset patch # User Sebastien Decugis # Date 1282123205 -32400 # Node ID a9a938287b49f95fc6f7410fa76644236c5612c0 # Parent e5f06199cee78031339e17742a896b11e0466a4e Updated help message diff -r e5f06199cee7 -r a9a938287b49 freeDiameter/main.c --- a/freeDiameter/main.c Wed Aug 18 18:13:09 2010 +0900 +++ b/freeDiameter/main.c Wed Aug 18 18:20:05 2010 +0900 @@ -259,7 +259,6 @@ break; case 'g': /* Full debug for the function with this name. */ - #ifdef DEBUG { int l = (int)atoi(optarg); if (l) { @@ -268,10 +267,6 @@ TRACE_DEBUG(INFO, "Enabled GNUTLS debug at level %d", l); } } - #else /* DEBUG */ - TRACE_DEBUG(INFO, "Error: must compile with DEBUG support to use this feature"); - return EINVAL; - #endif /* DEBUG */ break; case 'q': /* Decrease verbosity then remove debug messages. */ @@ -339,7 +334,8 @@ " These options are mostly useful for developers\n" " -l, --dbglocale Set the locale for error messages\n" " -d, --debug Increase verbosity of debug messages\n" - " -q, --quiet Decrease verbosity then remove debug messages\n"); + " -q, --quiet Decrease verbosity then remove debug messages\n" + " --dbg_gnutls Enable GNU TLS debug at level \n"); } /* Terminate the application */