From cc4a9b6991f8214c7200e438275fb569cabb12ff Mon Sep 17 00:00:00 2001 From: jmc Date: Thu, 2 Sep 2021 14:14:44 +0000 Subject: [PATCH] list -v with -d in SYNOPSIS, instead of seperately, and add -v to usage(); --- usr.sbin/slowcgi/slowcgi.8 | 5 ++--- usr.sbin/slowcgi/slowcgi.c | 4 ++-- 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 .\" @@ -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 * Copyright (c) 2013 Florian Obser @@ -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); } -- 2.20.1