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
c02bc60a
...
c02bc60a186dfa40a7fede1f62eeeb65a3d19895
authored
2002-12-10 07:33:13 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mu_license_argp_option): Removed short option 'L', it is used by sieve argp stuff.
1 parent
2b8780be
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
mailbox/mu_argp.c
mailbox/mu_argp.c
View file @
c02bc60
...
...
@@ -47,6 +47,7 @@
#define ARG_LOG_FACILITY 1
#define ARG_LOCK_FLAGS 2
#define ARG_SHOW_OPTIONS 3
#define ARG_LICENSE 4
const
char
*
argp_program_bug_address
=
"<"
PACKAGE_BUGREPORT
">"
;
...
...
@@ -60,7 +61,7 @@ static struct argp_option mu_common_argp_options[] =
/* Option to print the license. */
static
struct
argp_option
mu_license_argp_option
[]
=
{
{
"license"
,
'L'
,
NULL
,
0
,
"Print license and exit"
,
-
2
},
{
"license"
,
ARG_LICENSE
,
NULL
,
0
,
"Print license and exit"
,
-
2
},
{
NULL
,
0
,
NULL
,
0
,
NULL
,
0
}
};
...
...
@@ -348,7 +349,7 @@ mu_common_argp_parser (int key, char *arg, struct argp_state *state)
switch
(
key
)
{
/* common */
case
'L'
:
case
ARG_LICENSE
:
printf
(
"License for %s:
\n\n
"
,
argp_program_version
);
printf
(
"%s"
,
mu_license_text
);
exit
(
0
);
...
...
Please
register
or
sign in
to post a comment