Updated documentation and logging for an obsolete option switch
This commit is contained in:
parent
531cfcd22b
commit
fcc97c6b06
@ -14,7 +14,7 @@
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<BLOCKQUOTE>
|
||||
<div align=right><h5>Last update 07-Aug-2002</h5></div>
|
||||
<div align=right><h5>Last update 26-Aug-2005</h5></div>
|
||||
<div align=center><H1>mbfido, the fidonet mail and files processor.</H1></div>
|
||||
|
||||
<h3>Synopsis.</H3>
|
||||
@ -247,9 +247,6 @@ This switch doesn't work with the news command, only for echomail and tic files.
|
||||
Quiet mode, all output to the current tty is supressed. Use this flag if
|
||||
you toss mail from a script (started by cron) after mail is received.
|
||||
<P>
|
||||
<code><strong>mbfido</strong> toss -a</code> Toss mail and allow to autocreate
|
||||
new message areas. See the <A HREF="../setup/emareas.html"> message area setup</A>
|
||||
how to set this up.
|
||||
<code><strong>mbfido</strong> toss -unsecure</code>
|
||||
Toss mail without checking if the echomail is for your own system en without
|
||||
checking if the sending node is connected to your system. Nodes who are
|
||||
|
@ -64,6 +64,7 @@
|
||||
#define UNPACK_FACTOR 300
|
||||
|
||||
|
||||
int do_obs_a = FALSE; /* Obsolete command used */
|
||||
int do_areas = FALSE; /* Process area taglists */
|
||||
int do_toss = FALSE; /* Toss flag */
|
||||
int do_scan = FALSE; /* Scan flag */
|
||||
@ -461,7 +462,7 @@ int main(int argc, char **argv)
|
||||
else if (strncmp(tl(argv[i]), "-q", 2) == 0)
|
||||
do_quiet = TRUE;
|
||||
else if (strncmp(tl(argv[i]), "-a", 2) == 0)
|
||||
WriteError("The -a option is obsolete, adjust your setup");
|
||||
do_obs_a = TRUE;
|
||||
else if (strncmp(tl(argv[i]), "-unp", 4) == 0)
|
||||
do_unprot = TRUE;
|
||||
else if (strncmp(tl(argv[i]), "-uns", 4) == 0)
|
||||
@ -495,6 +496,8 @@ int main(int argc, char **argv)
|
||||
Syslog(' ', "MBFIDO v%s", VERSION);
|
||||
Syslog(' ', cmd);
|
||||
free(cmd);
|
||||
if (do_obs_a)
|
||||
WriteError("The -a option is obsolete, adjust your setup");
|
||||
|
||||
/*
|
||||
* Not yet locked, if anything goes wrong, exit with die(MBERR_NO_PROGLOCK)
|
||||
|
Reference in New Issue
Block a user