@ -113,6 +113,7 @@ void config_load(int *argc, char ***argv, GOptionEntry *app_entries, const char
{ " log-facility " , 0 , 0 , G_OPTION_ARG_STRING , & rtpe_common_config_ptr - > log_facility , " Syslog facility to use for logging " , " daemon|local0|...|local7 " } ,
{ " log-facility " , 0 , 0 , G_OPTION_ARG_STRING , & rtpe_common_config_ptr - > log_facility , " Syslog facility to use for logging " , " daemon|local0|...|local7 " } ,
{ " log-level " , ' L ' , 0 , G_OPTION_ARG_INT , ( void * ) & rtpe_common_config_ptr - > log_level , " Mask log priorities above this level " , " INT " } ,
{ " log-level " , ' L ' , 0 , G_OPTION_ARG_INT , ( void * ) & rtpe_common_config_ptr - > log_level , " Mask log priorities above this level " , " INT " } ,
{ " log-stderr " , ' E ' , 0 , G_OPTION_ARG_NONE , & rtpe_common_config_ptr - > log_stderr , " Log on stderr instead of syslog " , NULL } ,
{ " log-stderr " , ' E ' , 0 , G_OPTION_ARG_NONE , & rtpe_common_config_ptr - > log_stderr , " Log on stderr instead of syslog " , NULL } ,
{ " no-log-timestamps " , 0 , 0 , G_OPTION_ARG_NONE , & rtpe_common_config_ptr - > no_log_timestamps , " Drop timestamps from log lines to stderr " , NULL } ,
{ " pidfile " , ' p ' , 0 , G_OPTION_ARG_FILENAME , & rtpe_common_config_ptr - > pidfile , " Write PID to file " , " FILE " } ,
{ " pidfile " , ' p ' , 0 , G_OPTION_ARG_FILENAME , & rtpe_common_config_ptr - > pidfile , " Write PID to file " , " FILE " } ,
{ " foreground " , ' f ' , 0 , G_OPTION_ARG_NONE , & rtpe_common_config_ptr - > foreground , " Don't fork to background " , NULL } ,
{ " foreground " , ' f ' , 0 , G_OPTION_ARG_NONE , & rtpe_common_config_ptr - > foreground , " Don't fork to background " , NULL } ,
{ NULL , }
{ NULL , }