Mercurial > hg > octave-lyh
diff scripts/@ftp/delete.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/delete.m +++ b/scripts/@ftp/delete.m @@ -19,9 +19,9 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} delete (@var{f}, @var{file}) ## Delete the remote file @var{file}, over the FTP connection @var{f}. -## @var{f} is an FTP object returned by the ftp function. +## @var{f} is an FTP object returned by the @code{ftp} function. ## @end deftypefn -function delete (obj, file) - __ftp_delete__ (obj.curlhandle, file); +function delete (f, file) + __ftp_delete__ (f.curlhandle, file); endfunction