diff scripts/@ftp/mget.m @ 11469:c776f063fefe

Overhaul m-script files to use common variable name between code and documentation.
author Rik <octave@nomad.inbox5.com>
date Sun, 09 Jan 2011 12:41:21 -0800
parents 2c356a35d7f5
children fd0a3ac60b0e
line wrap: on
line diff
--- a/scripts/@ftp/mget.m
+++ b/scripts/@ftp/mget.m
@@ -22,7 +22,7 @@
 ## @deftypefnx {Function File} {} mget (@dots{}, @var{target})
 ## Downloads a remote file @var{file} or directory @var{dir} to the local
 ## directory on the FTP connection @var{f}.  @var{f} is an FTP object
-## returned by the ftp function. 
+## returned by the @code{ftp} function. 
 ##
 ## The arguments @var{file} and @var{dir} can include wildcards and any
 ## files or directories on the remote server that match will be downloaded.
@@ -32,6 +32,6 @@
 ## directory.
 ## @end deftypefn
 
-function mget (obj, file)
-  __ftp_mget__ (obj.curlhandle, file);
+function mget (f, file)
+  __ftp_mget__ (f.curlhandle, file);
 endfunction