summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2002-07-26 16:07:19 +0000
committeryar <yar@FreeBSD.org>2002-07-26 16:07:19 +0000
commitb0f28568443eb19491a61eb366275a4645019e10 (patch)
treebd516103546a98b6019b253d69368de870a1bf5f /libexec
parentae142b414474d6fc15cf29964ffa9c227c5b1881 (diff)
downloadFreeBSD-src-b0f28568443eb19491a61eb366275a4645019e10.zip
FreeBSD-src-b0f28568443eb19491a61eb366275a4645019e10.tar.gz
Make the `-v' option a synonym for `-d'
(as it was intended initially) and document it in the manpage. MFC after: 2 weeks
Diffstat (limited to 'libexec')
-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 0e22b1d..4088f2b 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 50bbc87..8a9d016 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:
OpenPOWER on IntegriCloud