Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
6a2c04cd
...
6a2c04cddf92a29f22462de710e536b9a5529262
authored
2002-12-27 15:32:53 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Removed startup banner.
Bugfix: --quit option was handled incorrectly
1 parent
57a7cf93
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
14 deletions
mail/mail.c
mail/mail.c
View file @
6a2c04c
...
...
@@ -91,7 +91,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
break
;
case
'q'
:
util_do_command
(
"set qui
e
t"
);
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
);
...
...
Please
register
or
sign in
to post a comment