[manual] mkdir second form is not described
Thomas Weber
thomas.weber.mail at gmail.com
Sun Sep 14 10:54:19 CDT 2008
On Sat, Sep 13, 2008 at 01:02:12PM +0200, Francesco Potorti` wrote:
> In Octave 3.0.1, both the halp string and the manual do not describe
> what the second form of mkdir (the one with two argument) does.
Patch attached.
Thomas
-------------- next part --------------
# HG changeset patch
# User weber at atlan
# Date 1221407588 -7200
# Node ID 9bca4f9c8e253a35c82c735283159f17f404d9ba
# Parent fc45357bf50ccdb48fceb36ef92db2c5e19dc671
Document mkdir()'s parent argument
diff -r fc45357bf50c -r 9bca4f9c8e25 src/dirfns.cc
--- a/src/dirfns.cc Fri Sep 12 15:34:13 2008 -0400
+++ b/src/dirfns.cc Sun Sep 14 17:53:08 2008 +0200
@@ -210,7 +210,7 @@
"-*- texinfo -*-\n\
@deftypefn {Built-in Function} {[@var{status}, @var{msg}, @var{msgid}] =} mkdir (@var{dir})\n\
@deftypefnx {Built-in Function} {[@var{status}, @var{msg}, @var{msgid}] =} mkdir (@var{parent}, @var{dir})\n\
-Create a directory named @var{dir}.\n\
+Create a directory named @var{dir} in the directory @var{parent}.\n\
\n\
If successful, @var{status} is 1, with @var{msg} and @var{msgid} empty\n\
character strings. Otherwise, @var{status} is 0, @var{msg} contains a\n\
More information about the Bug-octave
mailing list