# HG changeset patch # User Carlo de Falco # Date 1315577570 -7200 # Node ID 376d3f7e34649b12cabdc049147480ecd03f47c3 # Parent c6601cb63e4ef058385bcd9ee328a7a4644500c4 Fix input check in __makeinfo__ * __makeinfo__.m: Fix the maximum number of input parameters allowed by the initial check. diff -r c6601cb63e4e -r 376d3f7e3464 scripts/help/__makeinfo__.m --- a/scripts/help/__makeinfo__.m Thu Sep 08 10:38:49 2011 -0500 +++ b/scripts/help/__makeinfo__.m Fri Sep 09 16:12:50 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