about summary refs log tree commit diff
path: root/archive.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--archive.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/archive.c b/archive.c
index 69d3c77..d505949 100644
--- a/archive.c
+++ b/archive.c
@@ -65,7 +65,7 @@ int main(int argc, char *argv[]) {
 	const char *title = NULL;
 	const char *headPath = NULL;
 
-	for (int opt; 0 < (opt = getopt(argc, argv, "C:a:h:p:s:t:vw:"));) {
+	for (int opt; 0 < (opt = getopt(argc, argv, "C:a:h:p:s:t:u:vw:"));) {
 		switch (opt) {
 			break; case 'C': {
 				int error = chdir(optarg);
@@ -76,6 +76,7 @@ int main(int argc, char *argv[]) {
 			break; case 'p': port = optarg;
 			break; case 's': search = optarg;
 			break; case 't': title = optarg;
+			break; case 'u': atomBaseURL = optarg;
 			break; case 'v': imapVerbose = true;
 			break; case 'w': passPath = optarg;
 		}