summaryrefslogtreecommitdiffstats
path: root/sftp.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2014-10-06 02:47:15 +0200
committerDamien Miller <djm@mindrot.org>2014-10-13 02:39:02 +0200
commit4a45922aebf99164e2fc83d34fe55b11ae1866ef (patch)
tree9e2ef5b3f33226a1d7f5ed79f483156a06427377 /sftp.c
parentupstream commit (diff)
downloadopenssh-4a45922aebf99164e2fc83d34fe55b11ae1866ef.tar.xz
openssh-4a45922aebf99164e2fc83d34fe55b11ae1866ef.zip
upstream commit
correct options in usage(); from mancha1 AT zoho.com
Diffstat (limited to 'sftp.c')
-rw-r--r--sftp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sftp.c b/sftp.c
index 81d67c927..e86bb3b18 100644
--- a/sftp.c
+++ b/sftp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp.c,v 1.166 2014/08/20 01:28:55 deraadt Exp $ */
+/* $OpenBSD: sftp.c,v 1.167 2014/10/06 00:47:15 djm Exp $ */
/*
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
*
@@ -202,7 +202,7 @@ static const struct CMD cmds[] = {
{ "quit", I_QUIT, NOARGS },
{ "reget", I_REGET, REMOTE },
{ "rename", I_RENAME, REMOTE },
- { "reput", I_REPUT, LOCAL },
+ { "reput", I_REPUT, LOCAL },
{ "rm", I_RM, REMOTE },
{ "rmdir", I_RMDIR, REMOTE },
{ "symlink", I_SYMLINK, REMOTE },
@@ -250,9 +250,9 @@ help(void)
"df [-hi] [path] Display statistics for current directory or\n"
" filesystem containing 'path'\n"
"exit Quit sftp\n"
- "get [-Ppr] remote [local] Download file\n"
- "reget remote [local] Resume download file\n"
- "reput [local] remote Resume upload file\n"
+ "get [-afPpRr] remote [local] Download file\n"
+ "reget [-fPpRr] remote [local] Resume download file\n"
+ "reput [-fPpRr] [local] remote Resume upload file\n"
"help Display this help text\n"
"lcd path Change local directory to 'path'\n"
"lls [ls-options [path]] Display local directory listing\n"
@@ -263,7 +263,7 @@ help(void)
"lumask umask Set local umask to 'umask'\n"
"mkdir path Create remote directory\n"
"progress Toggle display of progress meter\n"
- "put [-Ppr] local [remote] Upload file\n"
+ "put [-afPpRr] local [remote] Upload file\n"
"pwd Display remote working directory\n"
"quit Quit sftp\n"
"rename oldpath newpath Rename remote file\n"