Commit Diff


commit - e2534fd11f6d44c07dfeb1ba6c3fe593afeea0fb
commit + febfcde82b97fed90c08ff36a89c7616b59cef23
blob - 36453d8e1fdb88f96c6405f317dae66b3d39573e
blob + a8969c8866f912b8e0a489b8cabf6b6880d7ddae
--- gg.1
+++ gg.1
@@ -1,4 +1,4 @@
-.\" Copyright (c) 2021 Omar Polo <op@omarpolo.com>
+.\" Copyright (c) 2021, 2022 Omar Polo <op@omarpolo.com>
 .\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
@@ -11,7 +11,7 @@
 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.Dd $Mdocdate: December 29 2021$
+.Dd $Mdocdate: January 13 2022$
 .Dt GG 1
 .Os
 .Sh NAME
@@ -25,7 +25,7 @@
 .Op Fl d Ar mode
 .Op Fl H Ar sni
 .Op Fl K Ar key
-.Op Fl P Ar host : Ns Oo Ar port Oc
+.Op Fl P Ar host Ns Oo : Ns Ar port Oc
 .Op Fl T Ar seconds
 .Ar gemini://...
 .Ek
blob - 3b86af5fac0734d5bba43ef7f12155f7af2c514d
blob + e25e9ccfd70d36ef9729d900762cf518477989c9
--- gg.c
+++ gg.c
@@ -305,7 +305,7 @@ static void __attribute__((noreturn))
 usage(void)
 {
 	fprintf(stderr, "usage: %s [-23Nnv] [-C cert] [-d mode] [-H sni] "
-	    "[-K key] [-P proxy]\n",
+	    "[-K key] [-P host[:port]]\n",
 	    getprogname());
 	fprintf(stderr, "          [-T seconds] gemini://...\n");
 	exit(1);