(mu_license_argp_option): Removed short option 'L', it is used by sieve argp stuff.
Showing
1 changed file
with
3 additions
and
2 deletions
... | @@ -47,6 +47,7 @@ | ... | @@ -47,6 +47,7 @@ |
47 | #define ARG_LOG_FACILITY 1 | 47 | #define ARG_LOG_FACILITY 1 |
48 | #define ARG_LOCK_FLAGS 2 | 48 | #define ARG_LOCK_FLAGS 2 |
49 | #define ARG_SHOW_OPTIONS 3 | 49 | #define ARG_SHOW_OPTIONS 3 |
50 | #define ARG_LICENSE 4 | ||
50 | 51 | ||
51 | const char *argp_program_bug_address = "<" PACKAGE_BUGREPORT ">"; | 52 | const char *argp_program_bug_address = "<" PACKAGE_BUGREPORT ">"; |
52 | 53 | ||
... | @@ -60,7 +61,7 @@ static struct argp_option mu_common_argp_options[] = | ... | @@ -60,7 +61,7 @@ static struct argp_option mu_common_argp_options[] = |
60 | 61 | ||
61 | /* Option to print the license. */ | 62 | /* Option to print the license. */ |
62 | static struct argp_option mu_license_argp_option[] = { | 63 | static struct argp_option mu_license_argp_option[] = { |
63 | { "license", 'L', NULL, 0, "Print license and exit", -2 }, | 64 | { "license", ARG_LICENSE, NULL, 0, "Print license and exit", -2 }, |
64 | { NULL, 0, NULL, 0, NULL, 0 } | 65 | { NULL, 0, NULL, 0, NULL, 0 } |
65 | }; | 66 | }; |
66 | 67 | ||
... | @@ -348,7 +349,7 @@ mu_common_argp_parser (int key, char *arg, struct argp_state *state) | ... | @@ -348,7 +349,7 @@ mu_common_argp_parser (int key, char *arg, struct argp_state *state) |
348 | switch (key) | 349 | switch (key) |
349 | { | 350 | { |
350 | /* common */ | 351 | /* common */ |
351 | case 'L': | 352 | case ARG_LICENSE: |
352 | printf ("License for %s:\n\n", argp_program_version); | 353 | printf ("License for %s:\n\n", argp_program_version); |
353 | printf ("%s", mu_license_text); | 354 | printf ("%s", mu_license_text); |
354 | exit (0); | 355 | exit (0); | ... | ... |
-
Please register or sign in to post a comment