webfs(4): document -d and -D flags

This commit is contained in:
cinap_lenrek 2018-01-31 19:09:11 +01:00
parent 83d8a24215
commit 650a4434a6
2 changed files with 8 additions and 1 deletions

View file

@ -4,6 +4,8 @@ webfs \- world wide web file system
.SH SYNOPSIS .SH SYNOPSIS
.B webfs .B webfs
[ [
.B -Dd
] [
.B -A .B -A
.I useragent .I useragent
] [ ] [
@ -30,6 +32,11 @@ and, if
.I service .I service
is specified, will post a service file descriptor in is specified, will post a service file descriptor in
.BR /srv/\fIservice . .BR /srv/\fIservice .
The
.B -d
flag enables general debug printing to standard error while the
.B -D
flag enables 9P debug prints.
.PP .PP
If the environment variable If the environment variable
.B httpproxy .B httpproxy

View file

@ -781,7 +781,7 @@ Srv fs =
void void
usage(void) usage(void)
{ {
fprint(2, "usage: %s [-D] [-A useragent] [-T timeout] [-m mtpt] [-s service]\n", argv0); fprint(2, "usage: %s [-Dd] [-A useragent] [-T timeout] [-m mtpt] [-s service]\n", argv0);
exits("usage"); exits("usage");
} }