diff options
author | djm@openbsd.org <djm@openbsd.org> | 2014-10-06 00:47:15 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2014-10-13 11:39:02 +1100 |
commit | 4a45922aebf99164e2fc83d34fe55b11ae1866ef (patch) | |
tree | 9e2ef5b3f33226a1d7f5ed79f483156a06427377 /sftp.c | |
parent | 48dffd5bebae6fed0556dc5c36cece0370690618 (diff) |
upstream commit
correct options in usage(); from mancha1 AT zoho.com
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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" |