# HG changeset patch # User Carlo de Falco # Date 1315586811 -7200 # Node ID 45263c0bcaa6de41dab0711c34d7849b5ef7572b # 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 45263c0bcaa6 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 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