summaryrefslogtreecommitdiff
path: root/pop3d
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-10-18 19:08:33 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-10-18 19:08:33 +0000
commit2d5ccbd2e299467004e88a19a7e5bce76f2ed2b4 (patch)
tree462cada3bf719e1f325083f9a89e4d1794e6d490 /pop3d
parentc6b05cc4819e5c7ae35897536b3a00161acfa7eb (diff)
downloadmailutils-2d5ccbd2e299467004e88a19a7e5bce76f2ed2b4.tar.gz
mailutils-2d5ccbd2e299467004e88a19a7e5bce76f2ed2b4.tar.bz2
(options): Minor fix in help line wording.
(pop3d_parse_opt): Fixed duplicate case.
Diffstat (limited to 'pop3d')
-rw-r--r--pop3d/pop3d.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/pop3d/pop3d.c b/pop3d/pop3d.c
index d8dfd09ad..cded4c042 100644
--- a/pop3d/pop3d.c
+++ b/pop3d/pop3d.c
@@ -74,7 +74,7 @@ static struct argp_option options[] = {
N_("Name of login statistics file"), 0},
#endif
{"expire", OPT_EXPIRE, N_("DAYS"), 0,
- N_("Minimum advertise retention days of messages, default -1 means NEVER"), 0},
+ N_("Minimum retention period for messages in the maildrop, default -1 means NEVER"), 0},
{NULL, 0, NULL, 0, NULL, 0}
};
@@ -120,7 +120,7 @@ pop3d_parse_opt (int key, char *arg, struct argp_state *astate)
login_delay = strtoul (arg, &p, 10);
if (*p)
{
- argp_error (state, _("Invalid number"));
+ argp_error (astate, _("Invalid number"));
exit (1);
}
break;
@@ -130,8 +130,13 @@ pop3d_parse_opt (int key, char *arg, struct argp_state *astate)
break;
#endif
- case OPT_STAT_FILE:
+ case OPT_EXPIRE:
expire = strtoul (arg, &p, 10);
+ if (*p)
+ {
+ argp_error (astate, _("Invalid number"));
+ exit (1);
+ }
break;
default:

Return to:

Send suggestions and report system problems to the System administrator.