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
7a256e75
...
7a256e75c39bde0ce2ac09ed207ed1734c8177c3
authored
2003-06-26 14:26:42 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
New option --create
1 parent
c2dbb827
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
pop3d/popauth.c
pop3d/popauth.c
View file @
7a256e7
...
...
@@ -68,6 +68,7 @@ static struct argp_option options[] =
{
"modify"
,
'm'
,
0
,
0
,
N_
(
"Modify user's record (change password)"
),
1
},
{
"delete"
,
'd'
,
0
,
0
,
N_
(
"Delete user's record"
),
1
},
{
"list"
,
'l'
,
0
,
0
,
N_
(
"List the contents of DBM file"
),
1
},
{
"create"
,
'c'
,
0
,
0
,
N_
(
"Create the DBM from a plaintext file"
),
1
},
{
NULL
,
0
,
NULL
,
0
,
N_
(
"Default action is:
\n
"
...
...
@@ -112,7 +113,12 @@ popauth_parse_opt (int key, char *arg, struct argp_state *astate)
check_action
(
ap
->
action
);
ap
->
action
=
ACT_ADD
;
break
;
case
'c'
:
check_action
(
ap
->
action
);
ap
->
action
=
ACT_CREATE
;
break
;
case
'l'
:
check_action
(
ap
->
action
);
ap
->
action
=
ACT_LIST
;
...
...
Please
register
or
sign in
to post a comment