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
7d617e23
...
7d617e236fc5d5ee8280ff01021148dfc1f2e183
authored
2003-09-20 15:36:06 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(struct argp_option options): Removed irrelevant OPTION_DOC.
(main): Set default replyprefix
1 parent
146edd66
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
mail/mail.c
mail/mail.c
View file @
7d617e2
...
...
@@ -45,11 +45,7 @@ static struct argp_option options[] = {
{
"subject"
,
's'
,
N_
(
"SUBJ"
),
0
,
N_
(
"Send a message with a Subject of SUBJ"
),
0
},
{
"to"
,
't'
,
0
,
0
,
N_
(
"Precede message by a list of addresses"
),
0
},
{
"user"
,
'u'
,
N_
(
"USER"
),
0
,
N_
(
"Operate on USER's mailbox"
),
0
},
{
NULL
,
0
,
NULL
,
OPTION_DOC
,
N_
(
"Note: Argument to --file (-f) option is optional. If it is present, "
"it must follow the short option immediately, without any intervening "
"whitespace. If it is used with the long option, it must be separated "
"from it by an equal sign, with no intervening whitespace."
),
0
},
{
NULL
,
0
,
NULL
,
0
,
NULL
,
0
}
};
...
...
@@ -128,7 +124,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
case
'F'
:
util_cache_command
(
&
command_list
,
"set byname"
);
break
;
case
ARGP_KEY_ARG
:
/* People often tend to separate -f option from its argument
with a whitespace. This heuristics tries to catch the
...
...
@@ -304,6 +300,7 @@ main (int argc, char **argv)
util_do_command
(
"set toplines=5"
);
util_do_command
(
"set autoinc"
);
util_do_command
(
"set regex"
);
util_do_command
(
"set replyprefix=
\"
Re:
\"
"
);
/* Start in mail reading mode */
util_do_command
(
"set mode=read"
);
util_do_command
(
"set noquit"
);
...
...
Please
register
or
sign in
to post a comment