From 7ac65c0c8df3654c6de6c1f38a57e16ef797a54a Mon Sep 17 00:00:00 2001 From: Gabor Gyorvari Date: Wed, 22 May 2024 14:04:07 +0200 Subject: [PATCH] Hide error arg fix --- scan.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scan.php b/scan.php index a16c47c..af1207e 100644 --- a/scan.php +++ b/scan.php @@ -231,7 +231,7 @@ class MalwareScanner private function parseArgs() { $options = getopt( - 'd:e:i:o:abmcxlhkwnsptLj:E', + 'd:e:i:o:abmcxlhkrwnsptLj:E', array( 'directory:', 'extension:', @@ -244,6 +244,7 @@ class MalwareScanner 'follow-link', 'help', 'hide-ok', + 'hide-err', 'hide-whitelist', 'no-color', 'no-stop',