Mercurial > hg > octave-lyh
diff scripts/help/which.m @ 10549:95c3e38098bf
Untabify .m scripts
author | Rik <code@nomad.inbox5.com> |
---|---|
date | Fri, 23 Apr 2010 11:28:50 -0700 |
parents | 1db8033efa17 |
children | 2c356a35d7f5 |
line wrap: on
line diff
--- a/scripts/help/which.m +++ b/scripts/help/which.m @@ -28,20 +28,20 @@ if (nargout == 0) for i = 1:nargin - if (isempty (m(i).file)) - if (! isempty (m(i).type)) - printf ("`%s' is a %s\n", - m(i).name, m(i).type); - endif - else - if (isempty (m(i).type)) - printf ("`%s' is the file %s\n", - m(i).name, m(i).file); - else - printf ("`%s' is a %s from the file %s\n", - m(i).name, m(i).type, m(i).file); - endif - endif + if (isempty (m(i).file)) + if (! isempty (m(i).type)) + printf ("`%s' is a %s\n", + m(i).name, m(i).type); + endif + else + if (isempty (m(i).type)) + printf ("`%s' is the file %s\n", + m(i).name, m(i).file); + else + printf ("`%s' is a %s from the file %s\n", + m(i).name, m(i).type, m(i).file); + endif + endif endfor else varargout = {m.file};