Mercurial > hg > octave-lyh
changeset 16769:1c68c76c80c8
@ftp/cd.m: Fix docstring.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 18 Jun 2013 06:47:25 -0400 |
parents | e2de3c8882be |
children | 2b86cb4e172b |
files | scripts/@ftp/cd.m |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/@ftp/cd.m +++ b/scripts/@ftp/cd.m @@ -18,14 +18,14 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} cd (@var{f}) -## @deftypefn {Function File} {} cd (@var{f}, @var{path}) -## Get or sets the remote directory on the FTP connection @var{f}. +## @deftypefnx {Function File} {} cd (@var{f}, @var{path}) +## Get or set the remote directory on the FTP connection @var{f}. ## ## @var{f} is an FTP object returned by the @code{ftp} function. ## -## If @var{path} is not specified, returns the remote current working -## directory. Otherwise, sets the remote directory to @var{path} and -## returns the new remote working directory. +## If @var{path} is not specified, return the remote current working +## directory. Otherwise, set the remote directory to @var{path} and +## return the new remote working directory. ## ## If the directory does not exist, an error message is printed and the ## working directory is not changed.