options.c (goaccess-1.7.1) | : | options.c (goaccess-1.7.2) | ||
---|---|---|---|---|
skipping to change at line 102 | skipping to change at line 102 | |||
{"color-scheme" , required_argument , 0 , 0 } , | {"color-scheme" , required_argument , 0 , 0 } , | |||
{"crawlers-only" , no_argument , 0 , 0 } , | {"crawlers-only" , no_argument , 0 , 0 } , | |||
{"daemonize" , no_argument , 0 , 0 } , | {"daemonize" , no_argument , 0 , 0 } , | |||
{"datetime-format" , required_argument , 0 , 0 } , | {"datetime-format" , required_argument , 0 , 0 } , | |||
{"date-format" , required_argument , 0 , 0 } , | {"date-format" , required_argument , 0 , 0 } , | |||
{"date-spec" , required_argument , 0 , 0 } , | {"date-spec" , required_argument , 0 , 0 } , | |||
{"db-path" , required_argument , 0 , 0 } , | {"db-path" , required_argument , 0 , 0 } , | |||
{"fname-as-vhost" , required_argument , 0 , 0 } , | {"fname-as-vhost" , required_argument , 0 , 0 } , | |||
{"dcf" , no_argument , 0 , 0 } , | {"dcf" , no_argument , 0 , 0 } , | |||
{"double-decode" , no_argument , 0 , 0 } , | {"double-decode" , no_argument , 0 , 0 } , | |||
{"external-assets" , no_argument , 0 , 0 } , | ||||
{"enable-panel" , required_argument , 0 , 0 } , | {"enable-panel" , required_argument , 0 , 0 } , | |||
{"fifo-in" , required_argument , 0 , 0 } , | {"fifo-in" , required_argument , 0 , 0 } , | |||
{"fifo-out" , required_argument , 0 , 0 } , | {"fifo-out" , required_argument , 0 , 0 } , | |||
{"hide-referrer" , required_argument , 0 , 0 } , | {"hide-referrer" , required_argument , 0 , 0 } , | |||
{"hour-spec" , required_argument , 0 , 0 } , | {"hour-spec" , required_argument , 0 , 0 } , | |||
{"html-custom-css" , required_argument , 0 , 0 } , | {"html-custom-css" , required_argument , 0 , 0 } , | |||
{"html-custom-js" , required_argument , 0 , 0 } , | {"html-custom-js" , required_argument , 0 , 0 } , | |||
{"html-prefs" , required_argument , 0 , 0 } , | {"html-prefs" , required_argument , 0 , 0 } , | |||
{"html-report-title" , required_argument , 0 , 0 } , | {"html-report-title" , required_argument , 0 , 0 } , | |||
{"ignore-crawlers" , no_argument , 0 , 0 } , | {"ignore-crawlers" , no_argument , 0 , 0 } , | |||
skipping to change at line 249 | skipping to change at line 250 | |||
/* File Options */ | /* File Options */ | |||
CYN "FILE OPTIONS" RESET | CYN "FILE OPTIONS" RESET | |||
"\n\n" | "\n\n" | |||
" - - The log file to parse is read from stdin. \n" | " - - The log file to parse is read from stdin. \n" | |||
" -f --log-file=<filename> - Path to input log file.\n" | " -f --log-file=<filename> - Path to input log file.\n" | |||
" -l --debug-file=<filename> - Send all debug messages to the specified\ n" | " -l --debug-file=<filename> - Send all debug messages to the specified\ n" | |||
" file.\n" | " file.\n" | |||
" -p --config-file=<filename> - Custom configuration file.\n" | " -p --config-file=<filename> - Custom configuration file.\n" | |||
" -S --log-size=<number> - Specify the log size, useful when piping in\n" | " -S --log-size=<number> - Specify the log size, useful when piping in\n" | |||
" logs.\n" | " logs.\n" | |||
" --external-assets - Output HTML assets to external JS/CSS fil es.\n" | ||||
" --invalid-requests=<filename> - Log invalid requests to the specified fil e.\n" | " --invalid-requests=<filename> - Log invalid requests to the specified fil e.\n" | |||
" --no-global-config - Don't load global configuration file.\n" | " --no-global-config - Don't load global configuration file.\n" | |||
" --unknowns-log=<filename> - Log unknown browsers and OSs to the\n" | " --unknowns-log=<filename> - Log unknown browsers and OSs to the\n" | |||
" specified file.\n" | " specified file.\n" | |||
"\n" | "\n" | |||
"" | "" | |||
/* Parse Options */ | /* Parse Options */ | |||
CYN "PARSE OPTIONS" RESET | CYN "PARSE OPTIONS" RESET | |||
"\n\n" | "\n\n" | |||
" -a --agent-list - Enable a list of user-agents by host.\n" | " -a --agent-list - Enable a list of user-agents by host.\n" | |||
skipping to change at line 598 | skipping to change at line 600 | |||
conf.date_spec_hr = 2; | conf.date_spec_hr = 2; | |||
/* double decode */ | /* double decode */ | |||
if (!strcmp ("double-decode", name)) | if (!strcmp ("double-decode", name)) | |||
conf.double_decode = 1; | conf.double_decode = 1; | |||
/* enable panel */ | /* enable panel */ | |||
if (!strcmp ("enable-panel", name)) | if (!strcmp ("enable-panel", name)) | |||
set_array_opt (oarg, conf.enable_panels, &conf.enable_panel_idx, TOTAL_MODUL ES); | set_array_opt (oarg, conf.enable_panels, &conf.enable_panel_idx, TOTAL_MODUL ES); | |||
/* external assets */ | ||||
if (!strcmp ("external-assets", name)) | ||||
conf.external_assets = 1; | ||||
/* hour specificity */ | /* hour specificity */ | |||
if (!strcmp ("hour-spec", name) && !strcmp (oarg, "min")) | if (!strcmp ("hour-spec", name) && !strcmp (oarg, "min")) | |||
conf.hour_spec_min = 1; | conf.hour_spec_min = 1; | |||
/* ignore crawlers */ | /* ignore crawlers */ | |||
if (!strcmp ("ignore-crawlers", name)) | if (!strcmp ("ignore-crawlers", name)) | |||
conf.ignore_crawlers = 1; | conf.ignore_crawlers = 1; | |||
/* ignore panel */ | /* ignore panel */ | |||
if (!strcmp ("ignore-panel", name)) | if (!strcmp ("ignore-panel", name)) | |||
End of changes. 3 change blocks. | ||||
0 lines changed or deleted | 6 lines changed or added |