summary refs log tree commit diff
path: root/bubger.1
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bubger.129
1 files changed, 16 insertions, 13 deletions
diff --git a/bubger.1 b/bubger.1
index e83ff8a..d31f9b4 100644
--- a/bubger.1
+++ b/bubger.1
@@ -10,9 +10,10 @@
 .Nm
 .Op Fl qv
 .Op Fl C Ar path
+.Op Fl H Ar head
 .Op Fl S Ar search
 .Op Fl a Ar algo
-.Op Fl h Ar head
+.Op Fl h Ar host
 .Op Fl m Ar addr
 .Op Fl p Ar port
 .Op Fl s Ar url
@@ -20,7 +21,6 @@
 .Op Fl u Ar base
 .Op Fl w Ar file
 .Op Fl y Ar css
-.Ar host
 .Ar user
 .Op Ar mailbox
 .
@@ -43,6 +43,13 @@ Change directory to
 .Ar path
 before reading and writing files.
 .
+.It Fl H Ar head
+Append the contents of the file
+.Ar head
+to the
+.Sy <head>
+element of HTML pages.
+.
 .It Fl S Ar search
 Limit threads to messages matching
 .Ar search .
@@ -57,12 +64,12 @@ or
 The default algorithm is
 .Sy REFERENCES .
 .
-.It Fl h Ar head
-Append the contents of the file
-.Ar head
-to the
-.Sy <head>
-element of HTML pages.
+.It Fl h Ar host
+Connect to IMAP on
+.Ar host .
+The default host is determined by
+SRV record lookup on the domain name of
+.Ar user .
 .
 .It Fl m Ar addr
 Set the mailto and reply Cc address for the archive.
@@ -109,10 +116,6 @@ Use the stylesheet URL
 .Ar css .
 The default is an inline stylesheet.
 .
-.It Ar host
-Connect to IMAP on
-.Ar host .
-.
 .It Ar user
 Log in to IMAP as
 .Ar user .
@@ -154,7 +157,7 @@ Stores the mailbox UID validity.
 .
 .Sh EXAMPLES
 .Bd -literal
-bubger -q imap.example.org list@example.org \e
+bubger -q list@example.org \e
 && rsync -a index.* message thread attachment example.org:public_html/
 .Ed
 .