about summary refs log tree commit diff
path: root/archive.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-01 23:39:25 -0500
committerJune McEnroe <june@causal.agency>2020-12-02 00:56:55 -0500
commit054121d6fa207c082d3e4f3b854e59ad116e5a59 (patch)
tree9829a2042b1bf4e721e9cccdb4658020e8020d55 /archive.c
parentBe even less weird about HTML (diff)
downloadbubger-054121d6fa207c082d3e4f3b854e59ad116e5a59.tar.gz
bubger-054121d6fa207c082d3e4f3b854e59ad116e5a59.zip
Switch to inline default stylesheet
Diffstat (limited to 'archive.c')
-rw-r--r--archive.c4
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++];