changeset 13119:45263c0bcaa6

Fix input check in __makeinfo__ * __makeinfo__.m: Fix the maximum number of input parameters allowed by the initial check.
author Carlo de Falco <kingcrimson@tiscali.it>
date Fri, 09 Sep 2011 18:46:51 +0200
parents c6601cb63e4e
children fc0ea95fbba0
files scripts/help/__makeinfo__.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/help/__makeinfo__.m	Thu Sep 08 10:38:49 2011 -0500
+++ b/scripts/help/__makeinfo__.m	Fri Sep 09 18:46:51 2011 +0200
@@ -53,7 +53,7 @@
 function [retval, status] = __makeinfo__ (text, output_type = "plain text", see_also = [])
 
   ## Check input
-  if (nargin < 1 || nargin > 2)
+  if (nargin < 1 || nargin > 3)
     print_usage ();
   endif