changeset 21708:e316b1548d2d

isdir.m: Don't call print_usage() with an argument. * isdir.m: Don't call print_usage with the argument of "isdir".
author Rik <rik@octave.org>
date Sun, 15 May 2016 22:36:52 -0700
parents 4c080cbc4ef9
children 88657798b650
files scripts/general/isdir.m
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/general/isdir.m	Sat Apr 16 00:02:57 2016 +1000
+++ b/scripts/general/isdir.m	Sun May 15 22:36:52 2016 -0700
@@ -23,8 +23,9 @@
 ## @end deftypefn
 
 function retval = isdir (f)
+
   if (nargin != 1)
-    print_usage ("isdir");
+    print_usage ();
   endif
 
   ## Exist returns an integer but isdir should return a logical.