Skip to content

Missing command line option documentation#936

Merged
val-ms merged 2 commits intoCisco-Talos:mainfrom
val-ms:missing-clamd-freshclam-options
Jun 1, 2023
Merged

Missing command line option documentation#936
val-ms merged 2 commits intoCisco-Talos:mainfrom
val-ms:missing-clamd-freshclam-options

Conversation

@val-ms
Copy link
Contributor

@val-ms val-ms commented May 31, 2023

The clamd and clamav-milter --help message and manpages do not mention the --pid (-p) option.

The clamd --help message and manpage do not mention the --datadir option.

Also corrected minor punctuation issues, and removed the meaningless jargon about the "main thread" which has nothing to do with the PID.

The clamd and clamav-milter `--help` message and manpages do
not mention the `--pid` (`-p`) option.

The clamd `--help` message and manpage do not mention the
`--datadir` option.

Also corrected minor punctuation issues, and removed the meaningless
jargon about the "main thread" which has nothing to do with the PID.
@@ -83,7 +83,7 @@ Log additional information about the infected file, such as its size and hash, t
Default: no
.TP
\fBPidFile STRING\fR
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

STRING -> FILE (referenced in next line)

Or: "Write daemon's pid to filename contained in STRING"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm same issue exists in clamav-milter.conf.5.in. Will fix both.

It's a pretty deep rabbithole to make it use FILE for both, or STRING for both. So many other options just say STRING and then something like "the specified file."

So I think I'll change it to "the specified file." to match those. Good catch!

Copy link
Contributor

@shutton shutton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good workaround

@val-ms val-ms merged commit 4161986 into Cisco-Talos:main Jun 1, 2023
@val-ms val-ms deleted the missing-clamd-freshclam-options branch June 1, 2023 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants