Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Fixes for usage information

2005-05-25 by Martin Paul

Hi,

I found some inconsistencies in the usage information and man page;
no serious issues, just some polishing:

 - The -h option is missing both in usage() and the man page.
 - The -c and -r options are missing in usage().
 - The man page has "-a delay", usage() has "-a autowhite".
 - The man page has "-M prefixlen", usage has "-M prefix".

Here are diffs for milter-greylist.8 and milter-greylist.c:

$ diff milter-greylist.8.orig milter-greylist.8
42a43
> [\fB-h\fR]
157a159,161
> .B -h
> Show usage information.
> .TP

$ diff milter-greylist.c.orig milter-greylist.c
954,956c954,956
<           "usage: %s [-ADvqSTl] [-a autowhite] [-d dumpfile] \n"
<           "       [-P pidfile] [-M prefix] [-f configfile]\n"
<           "       [-w delay] [-u username] [-L cidrmask] -p socket\n", 
---
>           "usage: %s [-A] [-a delay] [-c] [-D] [-d dumpfile]\n"
>           "       [-f configfile] [-h] [-l] [-q] [-r] [-S] [-T] [-u username] [-v]\n"
>           "       [-w delay] [-L cidrmask] [-M prefixlen] [-P pidfile] -p socket\n", 

usage() now uses the same syntax as the man page.

mp.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.