summaryrefslogtreecommitdiffabout
path: root/src/main.c
authorSergey Poznyakoff <gray@gnu.org.ua>2007-01-24 01:58:59 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2007-01-24 01:58:59 (GMT)
commit1de593682ce3db529004e22fc1ebd5d8e315fe86 (patch) (side-by-side diff)
treec97ef02984f05e4e73ea34ff4630c18f1f4e6e6b /src/main.c
parent58250b40716df6edd51d97afb99816f411c88a1f (diff)
downloadmailfromd-1de593682ce3db529004e22fc1ebd5d8e315fe86.tar.gz
mailfromd-1de593682ce3db529004e22fc1ebd5d8e315fe86.tar.bz2
Hide deprecated command line options
git-svn-id: file:///svnroot/mailfromd/trunk@1236 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'src/main.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/main.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/main.c b/src/main.c
index 79d304c..5722324 100644
--- a/src/main.c
+++ b/src/main.c
@@ -971,12 +971,6 @@ static struct argp_option options[] = {
{ "include", 'I', N_("DIR"), 0,
N_("Add the directory dir to the list of directories to be "
"searched for header files"), GRP+1 },
- { "domain", 'D', N_("STRING"), 0,
- N_("Set default SMTP domain"), GRP+1 },
- { "ehlo", 0, NULL, OPTION_ALIAS, NULL, GRP+1 },
- { "postmaster-email", OPTION_POSTMASTER_EMAIL, N_("EMAIL"), 0,
- N_("Set postmaster email address"), GRP+1 },
- { "mailfrom", 0, NULL, OPTION_ALIAS, NULL, GRP+1 },
{ "port", 'p', N_("STRING"), 0,
N_("Set communication socket"), GRP+1 },
{ "remove", 'r', NULL, 0,
@@ -1047,6 +1041,13 @@ static struct argp_option options[] = {
N_("Debug messages include source information"), GRP+1 },
#undef GRP
+ /*DEPRECATED OPTIONS*/
+ { "domain", 'D', N_("STRING"), OPTION_HIDDEN, "", 1 },
+ { "ehlo", 0, NULL, OPTION_ALIAS|OPTION_HIDDEN, NULL, 1 },
+ { "postmaster-email", OPTION_POSTMASTER_EMAIL, N_("EMAIL"),
+ OPTION_HIDDEN, "", 1 },
+ { "mailfrom", 0, NULL, OPTION_ALIAS|OPTION_HIDDEN, NULL, 1 },
+
#if 0
/* This entry is to pacify `make check-docs'. The options below
are defined in libmailutils.

Return to:

Send suggestions and report system problems to the System administrator.