=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/sftp.1,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- src/usr.bin/ssh/sftp.1 2001/02/07 13:49:42 1.4 +++ src/usr.bin/ssh/sftp.1 2001/02/07 18:10:39 1.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sftp.1,v 1.4 2001/02/07 13:49:42 itojun Exp $ +.\" $OpenBSD: sftp.1,v 1.5 2001/02/07 18:10:39 stevesk Exp $ .\" .\" Copyright (c) 2001 Damien Miller. All rights reserved. .\" @@ -44,17 +44,17 @@ compression. .Nm connects and logs into the specified -.Ar hostname +.Ar hostname , then enters an interactive command mode. .Pp The options are as follows: .Bl -tag -width Ds +.It Fl v +Raise logging level. This option is also passed to ssh. .It Fl C Enables compression (via ssh's .Fl C flag) -.It Fl v -Raise logging level. This option is also passed to ssh. .It Fl o Ar ssh_option Specify an option to be directly passed to .Xr ssh 1 . @@ -74,35 +74,38 @@ .Ar path . .It Ic chgrp Ar grp Ar path Change group of file -.Ar path to +.Ar path +to .Ar grp . .Ar grp -must be numeric. +must be a numeric GID. .It Ic chmod Ar mode Ar path Change permissions of file -.Ar path to +.Ar path +to .Ar mode . .It Ic chown Ar own Ar path Change owner of file -.Ar path to +.Ar path +to .Ar own . .Ar own must be a numeric UID. .It Ic help Display help text. -.It Ic get Ar remote-file Op Ar local-file +.It Ic get Ar remote-path Op Ar local-path Retrieve the -.Ar remote-file +.Ar remote-path and store it on the local machine. If the local -file name is not specified, it is given the same name it has on the +path name is not specified, it is given the same name it has on the remote machine. .It Ic lls Op Ar ls-options Op Ar path Display local directory listing of either .Ar path or current directory if .Ar path -was not specified. +is not specified. .It Ic lmkdir Ar path Create local directory specified by .Ar path . @@ -111,18 +114,19 @@ .It Ic ls Op Ar path Display remote directory listing of either .Ar path -or current directory, is -.Ar path not specified. +or current directory if +.Ar path +is not specified. .It Ic lumask Ar umask Set local umask to .Ar umask . .It Ic mkdir Ar path Create remote directory specified by .Ar path . -.It Ic put Ar local-file Op Ar remote-file +.It Ic put Ar local-path Op Ar remote-path Upload -.Ar local-file -and store it on the remote machine. If the local file name is not specified, +.Ar local-path +and store it on the remote machine. If the remote path name is not specified, it is given the same name it has on the local machine. .It Ic pwd Display remote working directory. @@ -148,7 +152,7 @@ .It Ic ! Escape to local shell. .It Ic ? -A synonym for help. +Synonym for help. .El .Sh AUTHORS Damien Miller