fix and sync gg usage

This commit is contained in:
Omar Polo 2022-01-13 10:13:32 +00:00
parent e2534fd11f
commit febfcde82b
2 changed files with 4 additions and 4 deletions

6
gg.1
View File

@ -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

2
gg.c
View File

@ -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);