summaryrefslogtreecommitdiff
path: root/usr.sbin/slowcgi
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2021-09-02 14:14:45 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2021-09-02 14:14:45 +0000
commit9c4e733d567bfdb44238e73873aebf2e0bef50dc (patch)
treef2f55355f901381f996786826cd99e85dd760906 /usr.sbin/slowcgi
parente003a6b293b0d9ca3a1f003540bd412d0a8259cd (diff)
list -v with -d in SYNOPSIS, instead of seperately,
and add -v to usage();
Diffstat (limited to 'usr.sbin/slowcgi')
-rw-r--r--usr.sbin/slowcgi/slowcgi.85
-rw-r--r--usr.sbin/slowcgi/slowcgi.c4
2 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/slowcgi/slowcgi.8 b/usr.sbin/slowcgi/slowcgi.8
index 810984d4897..cfc4deee42a 100644
--- a/usr.sbin/slowcgi/slowcgi.8
+++ b/usr.sbin/slowcgi/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/usr.sbin/slowcgi/slowcgi.c b/usr.sbin/slowcgi/slowcgi.c
index 15cd05c5457..f1bc0109920 100644
--- a/usr.sbin/slowcgi/slowcgi.c
+++ b/usr.sbin/slowcgi/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>
@@ -252,7 +252,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);
}