Skip to content

Commit

Permalink
Fix usage for --datadir option
Browse files Browse the repository at this point in the history
Make the usage clear to the user that the option specified by
'--datadir' must be an absolute path to a directory that already exists,
and is writeable by freshclam and readable by clamscan/clamd.
  • Loading branch information
ragusaa committed Mar 6, 2024
1 parent 24226f7 commit 7c23e7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions freshclam/freshclam.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ static void help(void)
printf(" --no-dns Force old non-DNS verification method\n");
printf(" --checks=#n -c #n Number of checks per day, 1 <= n <= 50\n");
printf(" --datadir=DIRECTORY Download new databases into DIRECTORY\n");
printf(" NOTE: DIRECTORY must already exist, be an absolute path, and");
printf(" be writeable by freshclam and readable by clamd/clamscan.");
printf(" --daemon-notify[=/path/clamd.conf] Send RELOAD command to clamd\n");
printf(" --local-address=IP -a IP Bind to IP for HTTP downloads\n");
printf(" --on-update-execute=COMMAND Execute COMMAND after successful update.\n");
Expand Down

0 comments on commit 7c23e7b

Please sign in to comment.