Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing command line option documentation #936

Merged

Conversation

micahsnyder
Copy link
Contributor

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

@micahsnyder micahsnyder merged commit 4161986 into Cisco-Talos:main Jun 1, 2023
22 of 24 checks passed
@micahsnyder micahsnyder 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.

None yet

2 participants