aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc2021-09-02 14:14:44 +0000
committerWolfgang Müller2021-09-08 15:40:46 +0200
commit0be49518a018ea21d92535f2813c70419e16bbfa (patch)
tree39e983e295c6387f6202fe7f2686c3d899b0e54a
parent664721b2882217fae1eb2ae506d65757a68cb007 (diff)
downloadslowcgi-0be49518a018ea21d92535f2813c70419e16bbfa.tar.gz
list -v with -d in SYNOPSIS, instead of seperately, and add -v to usage();7.0
-rw-r--r--slowcgi.85
-rw-r--r--slowcgi.c4
2 files changed, 4 insertions, 5 deletions
diff --git a/slowcgi.8 b/slowcgi.8
index 810984d..cfc4dee 100644
--- a/slowcgi.8
+++ b/slowcgi.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: slowcgi.8,v 1.15 2021/09/02 13:18:04 florian Exp $
+.\" $OpenBSD: slowcgi.8,v 1.16 2021/09/02 14:14:44 jmc Exp $
.\"
.\" Copyright (c) 2013 Florian Obser <florian@openbsd.org>
.\"
@@ -22,12 +22,11 @@
.Nd a FastCGI to CGI wrapper server
.Sh SYNOPSIS
.Nm
-.Op Fl d
+.Op Fl dv
.Op Fl p Ar path
.Op Fl s Ar socket
.Op Fl U Ar user
.Op Fl u Ar user
-.Op Fl v
.Sh DESCRIPTION
.Nm
is a server which implements the FastCGI Protocol to execute CGI scripts.
diff --git a/slowcgi.c b/slowcgi.c
index 5559d05..9999ac8 100644
--- a/slowcgi.c
+++ b/slowcgi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: slowcgi.c,v 1.61 2021/09/02 13:18:04 florian Exp $ */
+/* $OpenBSD: slowcgi.c,v 1.62 2021/09/02 14:14:44 jmc Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
* Copyright (c) 2013 Florian Obser <florian@openbsd.org>
@@ -269,7 +269,7 @@ usage(void)
{
extern char *__progname;
fprintf(stderr,
- "usage: %s [-d] [-p path] [-s socket] [-U user] [-u user]\n",
+ "usage: %s [-dv] [-p path] [-s socket] [-U user] [-u user]\n",
__progname);
exit(1);
}