diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-01-24 01:58:59 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-01-24 01:58:59 +0000 |
commit | 1de593682ce3db529004e22fc1ebd5d8e315fe86 (patch) | |
tree | c97ef02984f05e4e73ea34ff4630c18f1f4e6e6b | |
parent | 58250b40716df6edd51d97afb99816f411c88a1f (diff) | |
download | mailfromd-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
-rw-r--r-- | src/main.c | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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. |