fixed -m checksum flag

fixed -m checksum flag
This commit is contained in:
nichogenius
2017-08-19 17:55:19 -06:00
committed by GitHub
parent 7a8a2c1c77
commit 015cc6f668

View File

@@ -148,7 +148,7 @@ class MalwareScanner
private function parseArgs() private function parseArgs()
{ {
$options = getopt('d:e:i:bacxlhkwntv', array('directory:', 'extension:', 'ignore:', 'base', 'checksum', 'comment', 'extra-check', 'follow-link', 'help', 'hide-ok', 'hide-whitelist', 'no-color', 'time', 'verbose')); $options = getopt('d:e:i:bmcxlhkwntv', array('directory:', 'extension:', 'ignore:', 'base', 'checksum', 'comment', 'extra-check', 'follow-link', 'help', 'hide-ok', 'hide-whitelist', 'no-color', 'time', 'verbose'));
//Help Option should be first //Help Option should be first
if (isset($options['help']) || isset($options['h'])) { if (isset($options['help']) || isset($options['h'])) {