shithub: riscv

Download patch

ref: 650a4434a6771cff99d9aa429cbd7fcf70ec6d88
parent: 83d8a24215ddf66ee64fc4704151571b2e952685
author: cinap_lenrek <[email protected]>
date: Wed Jan 31 14:09:11 EST 2018

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

--- a/sys/man/4/webfs
+++ b/sys/man/4/webfs
@@ -4,6 +4,8 @@
 .SH SYNOPSIS
 .B webfs
 [
+.B -Dd
+] [
 .B -A
 .I useragent
 ] [
@@ -30,6 +32,11 @@
 .I service
 is specified, will post a service file descriptor in 
 .BR /srv/\fIservice .
+The
+.B -d
+flag enables general debug printing to standard error while the
+.B -D
+flag enables 9P debug prints.
 .PP
 If the environment variable
 .B httpproxy
--- a/sys/src/cmd/webfs/fs.c
+++ b/sys/src/cmd/webfs/fs.c
@@ -781,7 +781,7 @@
 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");
 }