diff options
author | yar <yar@FreeBSD.org> | 2002-07-26 16:07:19 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2002-07-26 16:07:19 +0000 |
commit | b0f28568443eb19491a61eb366275a4645019e10 (patch) | |
tree | bd516103546a98b6019b253d69368de870a1bf5f /libexec | |
parent | ae142b414474d6fc15cf29964ffa9c227c5b1881 (diff) | |
download | FreeBSD-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.8 | 5 | ||||
-rw-r--r-- | 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 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: |