aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-01-24 01:58:59 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-01-24 01:58:59 +0000
commit1de593682ce3db529004e22fc1ebd5d8e315fe86 (patch)
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')
-rw-r--r--src/main.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/main.c b/src/main.c
index 79d304cf..57223244 100644
--- a/src/main.c
+++ b/src/main.c
@@ -973,8 +973,2 @@ static struct argp_option options[] = {
"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,
@@ -1049,2 +1043,9 @@ static struct argp_option options[] = {
+ /*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

Return to:

Send suggestions and report system problems to the System administrator.