Drop further unnecessary argument validation
This commit is contained in:
parent
d15084396a
commit
701309d890
2 changed files with 3 additions and 6 deletions
|
@ -5,12 +5,12 @@ spamassassin-milter \- milter for spam filtering with SpamAssassin
|
|||
.B spamassassin-milter
|
||||
.RB [ \-a ]
|
||||
.RB [ \-B ]
|
||||
[\fB\-C\fR \fICODE\fR]
|
||||
.RB [ \-H ]
|
||||
.RB [ \-n ]
|
||||
.RB [ \-r
|
||||
[\fB\-C\fR \fICODE\fR]
|
||||
[\fB\-R\fR \fIMSG\fR]
|
||||
[\fB\-S\fR \fICODE\fR]]
|
||||
.RB [ \-r ]
|
||||
[\fB\-S\fR \fICODE\fR]
|
||||
[\fB\-s\fR \fIBYTES\fR]
|
||||
[\fB\-t\fR \fINETS\fR]
|
||||
.RB [ \-v ]
|
||||
|
|
|
@ -58,19 +58,16 @@ fn main() {
|
|||
.short("C")
|
||||
.long("reply-code")
|
||||
.value_name("CODE")
|
||||
.requires(ARG_REJECT_SPAM)
|
||||
.help("Reply code when rejecting messages"))
|
||||
.arg(Arg::with_name(ARG_REPLY_STATUS_CODE)
|
||||
.short("S")
|
||||
.long("reply-status-code")
|
||||
.value_name("CODE")
|
||||
.requires(ARG_REJECT_SPAM)
|
||||
.help("Status code when rejecting messages"))
|
||||
.arg(Arg::with_name(ARG_REPLY_TEXT)
|
||||
.short("R")
|
||||
.long("reply-text")
|
||||
.value_name("MSG")
|
||||
.requires(ARG_REJECT_SPAM)
|
||||
.help("Reply text when rejecting messages"))
|
||||
.arg(Arg::with_name(ARG_TRUSTED_NETWORKS)
|
||||
.short("t")
|
||||
|
|
Loading…
Reference in a new issue