[clamav-users] The "=" sign in freshclam options (---datadir= as an example) is mandatory?

Michael Wang mwang at unixlabplus.com
Wed Jul 14 12:35:09 UTC 2021


I discovered that the "=" sign in freshclam option is mandatory. For
example:

freshclam --datadir=c:\temp\database (with =)
and
freshclam --datadir c:\temp\database (without =)

are different. In the latter, the option "--datadir c:\temp\database" is
ignored as if it were not specified.

On the other hand, the "=" in clamscan option is optional, i.e.

clamscan --log=c:\tmp\my.log
and
clamscan --log c:\tmp\my.log

are equivalent.

I would like to get a confirmation that this is true, and secondly to get
an opinion if this is a bug, as far as I know, the = in option should be
optional.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20210714/f5b5eb01/attachment.htm>


More information about the clamav-users mailing list