From 1680dae7cc6be2893632f5eccb21ac6702556614 Mon Sep 17 00:00:00 2001 From: ragusaa <54862477+ragusaa@users.noreply.github.com> Date: Thu, 18 Jul 2024 13:23:34 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Micah Snyder --- clamscan/clamscan.c | 2 +- common/optparser.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clamscan/clamscan.c b/clamscan/clamscan.c index 3c35d6aa0c..298cfada36 100644 --- a/clamscan/clamscan.c +++ b/clamscan/clamscan.c @@ -295,7 +295,7 @@ void help(void) mprintf(LOGG_INFO, " --phishing-sigs[=yes(*)/no] Enable email signature-based phishing detection\n"); mprintf(LOGG_INFO, " --phishing-scan-urls[=yes(*)/no] Enable URL signature-based phishing detection\n"); mprintf(LOGG_INFO, " --heuristic-alerts[=yes(*)/no] Heuristic alerts\n"); - mprintf(LOGG_INFO, " --store-html-urls[=yes(*)/no] Store html URLs in metadata\n"); + mprintf(LOGG_INFO, " --json-store-html-urls[=yes(*)/no] Store html URLs in metadata\n"); mprintf(LOGG_INFO, " --heuristic-scan-precedence[=yes/no(*)] Stop scanning as soon as a heuristic match is found\n"); mprintf(LOGG_INFO, " --normalize[=yes(*)/no] Normalize html, script, and text files. Use normalize=no for yara compatibility\n"); mprintf(LOGG_INFO, " --scan-pe[=yes(*)/no] Scan PE files\n"); diff --git a/common/optparser.c b/common/optparser.c index 8caf869c99..bbf3bfa2f6 100644 --- a/common/optparser.c +++ b/common/optparser.c @@ -389,7 +389,7 @@ const struct clam_option __clam_options[] = { {"PhishingScanURLs", "phishing-scan-urls", 0, CLOPT_TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "Scan URLs found in mails for phishing attempts using heuristics.", "yes"}, {"HeuristicAlerts", "heuristic-alerts", 0, CLOPT_TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "In some cases (eg. complex malware, exploits in graphic files, and others),\nClamAV uses special algorithms to provide accurate detection. This option\ncontrols the algorithmic detection.", "yes"}, - {"StoreHTMLUrls", "store-html-urls", 0, CLOPT_TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "Store URLs found in HTML