comparison freeDiameterd/main.c @ 1134:51ce5a30df2d

Fix the dbg_func and dbg_file parameters
author Sebastien Decugis <sdecugis@freediameter.net>
date Wed, 15 May 2013 15:41:48 +0800
parents 1d1a20a0779d
children 05f74dc19c49
comparison
equal deleted inserted replaced
1133:54f04575792c 1134:51ce5a30df2d
149 " -V, --version Print version and exit\n" 149 " -V, --version Print version and exit\n"
150 " -c, --config=filename Read configuration from this file instead of the \n" 150 " -c, --config=filename Read configuration from this file instead of the \n"
151 " default location (" DEFAULT_CONF_PATH "/" FD_DEFAULT_CONF_FILENAME ").\n"); 151 " default location (" DEFAULT_CONF_PATH "/" FD_DEFAULT_CONF_FILENAME ").\n");
152 printf( "\nDebug:\n" 152 printf( "\nDebug:\n"
153 " These options are mostly useful for developers\n" 153 " These options are mostly useful for developers\n"
154 " -l, --dbglocale Set the locale for error messages\n" 154 " -l, --dbglocale Set the locale for error messages\n"
155 " -d, --debug Increase verbosity of debug messages if default logger is used\n" 155 " -d, --debug Increase verbosity of debug messages if default logger is used\n"
156 " -q, --quiet Decrease verbosity if default logger is used\n" 156 " -q, --quiet Decrease verbosity if default logger is used\n"
157 " --dbg_gnutls <int> Enable GNU TLS debug at level <int>\n"); 157 " -f, --dbg_func <func> Enable all traces within the function <func>\n"
158 " -F, --dbg_file <file.c> Enable all traces within the file <file.c> (basename match)\n"
159 " --dbg_gnutls <int> Enable GNU TLS debug at level <int>\n"
160 );
158 } 161 }
159 162
160 /* Parse the command-line */ 163 /* Parse the command-line */
161 static int main_cmdline(int argc, char *argv[]) 164 static int main_cmdline(int argc, char *argv[])
162 { 165 {
"Welcome to our mercurial repository"