Commit 17e439a2 17e439a21c020da961734a0a782cf4ca2ad62b9c by Sergey Poznyakoff

Renamed --maildir to --mail-spool.

1 parent a0f8c917
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
51 #define ARG_PAM_SERVICE 10 51 #define ARG_PAM_SERVICE 10
52 52
53 static struct argp_option mu_common_argp_option[] = { 53 static struct argp_option mu_common_argp_option[] = {
54 {"maildir", 'm', "URL", 0, 54 {"mail-spool", 'm', "URL", 0,
55 "use specified URL as a mailspool directory", 0}, 55 "use specified URL as a mailspool directory", 0},
56 { "license", 'L', NULL, 0, "print license and exit", 0 }, 56 { "license", 'L', NULL, 0, "print license and exit", 0 },
57 { NULL, 0, NULL, 0, NULL, 0 } 57 { NULL, 0, NULL, 0, NULL, 0 }
...@@ -459,8 +459,7 @@ read_rc (const char *progname, const char *name, const char *capa[], ...@@ -459,8 +459,7 @@ read_rc (const char *progname, const char *name, const char *capa[],
459 else 459 else
460 p = kwp; /* Use the whole line. */ 460 p = kwp; /* Use the whole line. */
461 461
462 if ( 462 if (progname == NULL
463 progname == NULL
464 || (kwp[0] == ':' && member (capa, kwp+1, len-1)) 463 || (kwp[0] == ':' && member (capa, kwp+1, len-1))
465 || strncmp (progname, kwp, len) == 0 464 || strncmp (progname, kwp, len) == 0
466 ) 465 )
......