From b0f28568443eb19491a61eb366275a4645019e10 Mon Sep 17 00:00:00 2001 From: yar Date: Fri, 26 Jul 2002 16:07:19 +0000 Subject: [PATCH] Make the `-v' option a synonym for `-d' (as it was intended initially) and document it in the manpage. MFC after: 2 weeks --- libexec/ftpd/ftpd.8 | 5 ++++- libexec/ftpd/ftpd.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libexec/ftpd/ftpd.8 b/libexec/ftpd/ftpd.8 index 0e22b1d155fa..4088f2b379f3 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 50bbc877062d..8a9d016ca207 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: