summary refs log tree commit diff
path: root/archive.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-30 17:53:23 -0400
committerJune McEnroe <june@causal.agency>2020-04-30 17:53:23 -0400
commit77762299d4495851c8c289bd54f75eb72d717a7a (patch)
treec75226558560bf7e6d5fb6a353c05e665ec1f3ac /archive.c
parentAdd -S for subscribe link (diff)
downloadbubger-77762299d4495851c8c289bd54f75eb72d717a7a.tar.gz
bubger-77762299d4495851c8c289bd54f75eb72d717a7a.zip
Swap -s and -S
Diffstat (limited to '')
-rw-r--r--archive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/archive.c b/archive.c
index d6cc74c..c824ecc 100644
--- a/archive.c
+++ b/archive.c
@@ -82,13 +82,13 @@ int main(int argc, char *argv[]) {
 				int error = chdir(optarg);
 				if (error) err(EX_NOINPUT, "%s", optarg);
 			}
-			break; case 'S': baseSubscribe = optarg;
+			break; case 'S': search = optarg;
 			break; case 'a': algo = optarg;
 			break; case 'h': concatHead = optarg;
 			break; case 'm': baseAddress = optarg;
 			break; case 'p': port = optarg;
 			break; case 'q': exitStatus = EXIT_FAILURE;
-			break; case 's': search = optarg;
+			break; case 's': baseSubscribe = optarg;
 			break; case 't': baseTitle = optarg;
 			break; case 'u': baseURL = optarg;
 			break; case 'v': imapVerbose = true;