summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-09-19 08:16:47 +0000
committerphk <phk@FreeBSD.org>1996-09-19 08:16:47 +0000
commit5f8eb47742b9fb5f9ddcd33cb0b7b9d9f130255e (patch)
tree21b61f37d79d6d4e5025cf4a26cc309776126ba6 /usr.bin/ftp
parent75b39c00ceec1b87954f543d4299e4071fc52d72 (diff)
downloadFreeBSD-src-5f8eb47742b9fb5f9ddcd33cb0b7b9d9f130255e.zip
FreeBSD-src-5f8eb47742b9fb5f9ddcd33cb0b7b9d9f130255e.tar.gz
Make "ftp" a synonym for "open"
Diffstat (limited to 'usr.bin/ftp')
-rw-r--r--usr.bin/ftp/cmdtab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/ftp/cmdtab.c b/usr.bin/ftp/cmdtab.c
index fd9afb2..6c8f001 100644
--- a/usr.bin/ftp/cmdtab.c
+++ b/usr.bin/ftp/cmdtab.c
@@ -130,6 +130,7 @@ struct cmd cmdtab[] = {
{ "dir", dirhelp, 1, 1, 1, ls },
{ "disconnect", disconhelp, 0, 1, 1, disconnect },
{ "form", formhelp, 0, 1, 1, setform },
+ { "ftp", connecthelp, 0, 0, 1, setpeer },
{ "get", receivehelp, 1, 1, 1, get },
{ "glob", globhelp, 0, 0, 0, setglob },
{ "hash", hashhelp, 0, 0, 0, sethash },
OpenPOWER on IntegriCloud