summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-12-27 15:32:53 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-12-27 15:32:53 +0000
commit6a2c04cddf92a29f22462de710e536b9a5529262 (patch)
tree9c3d4319546dfa79332cba0981fe14c13cd18944 /mail
parent57a7cf93b643b9097a6c1716f3f7275a641ba4a4 (diff)
downloadmailutils-6a2c04cddf92a29f22462de710e536b9a5529262.tar.gz
mailutils-6a2c04cddf92a29f22462de710e536b9a5529262.tar.bz2
Removed startup banner.
Bugfix: --quit option was handled incorrectly
Diffstat (limited to 'mail')
-rw-r--r--mail/mail.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/mail/mail.c b/mail/mail.c
index 895afebcc..da329db59 100644
--- a/mail/mail.c
+++ b/mail/mail.c
@@ -91,7 +91,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
break;
case 'q':
- util_do_command ("set quiet");
+ util_do_command ("set quit");
break;
case 't':
@@ -139,7 +139,6 @@ parse_opt (int key, char *arg, struct argp_state *state)
"it must follow the option\n"
"without any intervening whitespace."));
util_error (_("Run mail --help for more info."));
- util_do_command ("set quiet");
args->file = arg;
}
else
@@ -296,7 +295,6 @@ main (int argc, char **argv)
util_do_command ("set nooutfolder");
util_do_command ("set nopage");
util_do_command ("set prompt=\"? \"");
- util_do_command ("set noquiet");
util_do_command ("set norecord");
util_do_command ("set save");
util_do_command ("set screen=%d", util_getlines ());
@@ -342,7 +340,6 @@ main (int argc, char **argv)
util_do_command ("set noasksub");
util_do_command ("set noaskcc");
util_do_command ("set noaskbcc");
- util_do_command ("set quiet");
}
/* how should we be running? */
@@ -351,16 +348,6 @@ main (int argc, char **argv)
modelen = strlen (mode);
/* Interactive mode */
- if (util_getenv (NULL, "quiet", Mail_env_boolean, 0))
- {
- fprintf (ofile,
- _("%s, Copyright (C) 2001 Free Software Foundation, Inc.\n"
- "mail is free software with ABSOLUTELY NO WARRANTY.\n"
- "For details type `warranty'.\n"
- "Send bug reports to %s.\n"),
- argp_program_version,
- argp_program_bug_address);
- }
ml_readline_init ();
mail_set_my_name(args.user);

Return to:

Send suggestions and report system problems to the System administrator.