summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--archive.c4
-rw-r--r--bubger.120
2 files changed, 12 insertions, 12 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;
diff --git a/bubger.1 b/bubger.1
index 230adf1..3a88e67 100644
--- a/bubger.1
+++ b/bubger.1
@@ -10,12 +10,12 @@
 .Nm
 .Op Fl qv
 .Op Fl C Ar path
-.Op Fl S Ar url
+.Op Fl S Ar search
 .Op Fl a Ar algo
 .Op Fl h Ar head
 .Op Fl m Ar addr
 .Op Fl p Ar port
-.Op Fl s Ar search
+.Op Fl s Ar url
 .Op Fl t Ar title
 .Op Fl u Ar base
 .Op Fl w Ar file
@@ -39,9 +39,11 @@ Change directory to
 .Ar path
 before reading and writing files.
 .
-.It Fl S Ar url
-Add a subscribe link
-to the index page navigation.
+.It Fl S Ar search
+Limit threads to messages matching
+.Ar search .
+The default search is
+.Sy ALL .
 .
 .It Fl a Ar algo
 Set the threading algorithm to one of
@@ -73,11 +75,9 @@ TLS without STARTTLS is assumed.
 .It Fl q
 Exit non-zero if no changes are made.
 .
-.It Fl s Ar search
-Limit threads to messages matching
-.Ar search .
-The default search is
-.Sy ALL .
+.It Fl s Ar url
+Add a subscribe link
+to the index page navigation.
 .
 .It Fl t Ar title
 Set the base title for HTML pages.