summaryrefslogtreecommitdiff
path: root/sftp.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2014-10-06 00:47:15 +0000
committerDamien Miller <djm@mindrot.org>2014-10-13 11:39:02 +1100
commit4a45922aebf99164e2fc83d34fe55b11ae1866ef (patch)
tree9e2ef5b3f33226a1d7f5ed79f483156a06427377 /sftp.c
parent48dffd5bebae6fed0556dc5c36cece0370690618 (diff)
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 @@
1/* $OpenBSD: sftp.c,v 1.166 2014/08/20 01:28:55 deraadt Exp $ */ 1/* $OpenBSD: sftp.c,v 1.167 2014/10/06 00:47:15 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> 3 * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
4 * 4 *
@@ -202,7 +202,7 @@ static const struct CMD cmds[] = {
202 { "quit", I_QUIT, NOARGS }, 202 { "quit", I_QUIT, NOARGS },
203 { "reget", I_REGET, REMOTE }, 203 { "reget", I_REGET, REMOTE },
204 { "rename", I_RENAME, REMOTE }, 204 { "rename", I_RENAME, REMOTE },
205 { "reput", I_REPUT, LOCAL }, 205 { "reput", I_REPUT, LOCAL },
206 { "rm", I_RM, REMOTE }, 206 { "rm", I_RM, REMOTE },
207 { "rmdir", I_RMDIR, REMOTE }, 207 { "rmdir", I_RMDIR, REMOTE },
208 { "symlink", I_SYMLINK, REMOTE }, 208 { "symlink", I_SYMLINK, REMOTE },
@@ -250,9 +250,9 @@ help(void)
250 "df [-hi] [path] Display statistics for current directory or\n" 250 "df [-hi] [path] Display statistics for current directory or\n"
251 " filesystem containing 'path'\n" 251 " filesystem containing 'path'\n"
252 "exit Quit sftp\n" 252 "exit Quit sftp\n"
253 "get [-Ppr] remote [local] Download file\n" 253 "get [-afPpRr] remote [local] Download file\n"
254 "reget remote [local] Resume download file\n" 254 "reget [-fPpRr] remote [local] Resume download file\n"
255 "reput [local] remote Resume upload file\n" 255 "reput [-fPpRr] [local] remote Resume upload file\n"
256 "help Display this help text\n" 256 "help Display this help text\n"
257 "lcd path Change local directory to 'path'\n" 257 "lcd path Change local directory to 'path'\n"
258 "lls [ls-options [path]] Display local directory listing\n" 258 "lls [ls-options [path]] Display local directory listing\n"
@@ -263,7 +263,7 @@ help(void)
263 "lumask umask Set local umask to 'umask'\n" 263 "lumask umask Set local umask to 'umask'\n"
264 "mkdir path Create remote directory\n" 264 "mkdir path Create remote directory\n"
265 "progress Toggle display of progress meter\n" 265 "progress Toggle display of progress meter\n"
266 "put [-Ppr] local [remote] Upload file\n" 266 "put [-afPpRr] local [remote] Upload file\n"
267 "pwd Display remote working directory\n" 267 "pwd Display remote working directory\n"
268 "quit Quit sftp\n" 268 "quit Quit sftp\n"
269 "rename oldpath newpath Rename remote file\n" 269 "rename oldpath newpath Rename remote file\n"