aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2002-07-26 16:07:19 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2002-07-26 16:07:19 +0000
commit93bd9dc528f8811d81f61a6a6c0309826d94e40c (patch)
treebd516103546a98b6019b253d69368de870a1bf5f
parent38ed70b1aede667375044c6c148e8355eed874fd (diff)
Notes
-rw-r--r--libexec/ftpd/ftpd.85
-rw-r--r--libexec/ftpd/ftpd.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.8 b/libexec/ftpd/ftpd.8
index 0e22b1d155fa5..4088f2b379f31 100644
--- a/libexec/ftpd/ftpd.8
+++ b/libexec/ftpd/ftpd.8
@@ -40,7 +40,7 @@
.Nd Internet File Transfer Protocol server
.Sh SYNOPSIS
.Nm
-.Op Fl 46AdDEMoOrRSU
+.Op Fl 46AdDEMoOrRSUv
.Op Fl l Op Fl l
.Op Fl a Ar address
.Op Fl p Ar file
@@ -182,6 +182,9 @@ when a passive mode client requested a data connection to the server,
the server would use data ports in the range 1024..4999. Now, by default,
the server will use data ports in the range 49152..65535. Specifying this
option will revert to the old behavior.
+.It Fl v
+A synonym for
+.Fl d .
.El
.Pp
The file
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 50bbc877062d4..8a9d016ca207f 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -386,7 +386,7 @@ main(int argc, char *argv[], char **envp)
break;
case 'v':
- ftpdebug = 1;
+ ftpdebug++;
break;
default: