diff options
Diffstat (limited to 'archive.c')
-rw-r--r-- | archive.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/archive.c b/archive.c index 469c24c..e0ad6ad 100644 --- a/archive.c +++ b/archive.c @@ -44,6 +44,7 @@ const char *baseURL = ""; const char *baseTitle; const char *baseMailto; const char *baseSubscribe; +const char *baseStylesheet; static uint32_t uidRead(const char *path) { FILE *file = fopen(path, "r"); @@ -87,7 +88,7 @@ int main(int argc, char *argv[]) { const char *algo = "REFERENCES"; const char *search = "ALL"; - for (int opt; 0 < (opt = getopt(argc, argv, "C:S:a:h:m:p:qs:t:u:vw:"));) { + for (int opt; 0 < (opt = getopt(argc, argv, "C:S:a:h:m:p:qs:t:u:vw:y:"));) { switch (opt) { break; case 'C': { int error = chdir(optarg); @@ -104,6 +105,7 @@ int main(int argc, char *argv[]) { break; case 'u': baseURL = optarg; break; case 'v': imapVerbose = true; break; case 'w': passPath = optarg; + break; case 'y': baseStylesheet = optarg; } } if (optind < argc) host = argv[optind++]; |