summaryrefslogtreecommitdiff
path: root/sftp.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2010-01-15 11:42:51 +1100
committerDarren Tucker <dtucker@zip.com.au>2010-01-15 11:42:51 +1100
commit75fe626489bbafd966332db1b4801fee0c179ffd (patch)
treef8f4762eb04755387782a4517aa87733cca5311a /sftp.c
parent6abc9f68aa19288a4673f5e3030706e31d606407 (diff)
- jmc@cvs.openbsd.org 2010/01/13 12:48:34
[sftp.1 sftp.c] sftp.1: put ls -h in the right place sftp.c: as above, plus add -p to get/put, and shorten their arg names to keep the help usage nicely aligned ok djm
Diffstat (limited to 'sftp.c')
-rw-r--r--sftp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sftp.c b/sftp.c
index 3bacb7d51..ac6ac9fed 100644
--- a/sftp.c
+++ b/sftp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sftp.c,v 1.120 2010/01/13 04:10:50 djm Exp $ */ 1/* $OpenBSD: sftp.c,v 1.121 2010/01/13 12:48:34 jmc 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 *
@@ -233,18 +233,18 @@ help(void)
233 "df [-hi] [path] Display statistics for current directory or\n" 233 "df [-hi] [path] Display statistics for current directory or\n"
234 " filesystem containing 'path'\n" 234 " filesystem containing 'path'\n"
235 "exit Quit sftp\n" 235 "exit Quit sftp\n"
236 "get [-Pr] remote-path [local-path] Download file\n" 236 "get [-Ppr] remote [local] Download file\n"
237 "help Display this help text\n" 237 "help Display this help text\n"
238 "lcd path Change local directory to 'path'\n" 238 "lcd path Change local directory to 'path'\n"
239 "lls [ls-options [path]] Display local directory listing\n" 239 "lls [ls-options [path]] Display local directory listing\n"
240 "lmkdir path Create local directory\n" 240 "lmkdir path Create local directory\n"
241 "ln oldpath newpath Symlink remote file\n" 241 "ln oldpath newpath Symlink remote file\n"
242 "lpwd Print local working directory\n" 242 "lpwd Print local working directory\n"
243 "ls [-1aflnrSt] [path] Display remote directory listing\n" 243 "ls [-1afhlnrSt] [path] Display remote directory listing\n"
244 "lumask umask Set local umask to 'umask'\n" 244 "lumask umask Set local umask to 'umask'\n"
245 "mkdir path Create remote directory\n" 245 "mkdir path Create remote directory\n"
246 "progress Toggle display of progress meter\n" 246 "progress Toggle display of progress meter\n"
247 "put [-Pr] local-path [remote-path] Upload file\n" 247 "put [-Ppr] local [remote] Upload file\n"
248 "pwd Display remote working directory\n" 248 "pwd Display remote working directory\n"
249 "quit Quit sftp\n" 249 "quit Quit sftp\n"
250 "rename oldpath newpath Rename remote file\n" 250 "rename oldpath newpath Rename remote file\n"