changeset 12900:00f5292aefeb

Backout 12897:503865c2e542
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Fri, 29 Jul 2011 02:31:14 -0500
parents 0ca8f06aba7a
children f754b65f4bc5
files src/strfns.cc
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/strfns.cc
+++ b/src/strfns.cc
@@ -170,7 +170,6 @@
 @deftypefnx {Built-in Function} {} strvcat (@var{x}, @dots{})\n\
 @deftypefnx {Built-in Function} {} strvcat (@var{s1}, @var{s2}, @dots{})\n\
 @deftypefnx {Built-in Function} {} strvcat (@var{cell_array})\n\
-@deftypefnx {Built-in Function} {} strvcat ()\n\
 Create a character array from one or more numeric matrices, character\n\
 matrices, or cell arrays.  Arguments are concatenated vertically.\n\
 The returned values are padded with blanks as needed to make each row\n\
@@ -197,9 +196,6 @@
          \"half   \"]\n\
 @end group\n\
 @end example\n\
-\n\
-For compatibility with @sc{Matlab}, calling @code{strvcat} without arguments\n\
-returns the empty string.\n\
 @seealso{char, strcat, cstrcat}\n\
 @end deftypefn")
 {
@@ -277,7 +273,7 @@
       retval = octave_value (result, '\'');
     }
   else
-    retval = octave_value ("");
+    print_usage ();
 
   return retval;
 }