Index: ../trunk-jpl/test/NightlyRun/IdToName.m
===================================================================
--- ../trunk-jpl/test/NightlyRun/IdToName.m	(revision 19088)
+++ ../trunk-jpl/test/NightlyRun/IdToName.m	(revision 19089)
@@ -4,9 +4,10 @@
 %   if id=0, the full list of test is returned
 %
 %   Usage:
+%      name=IdToName();
 %      name=IdToName(id);
 
-if id==0,
+if nargin==0 | id==0,
 	flist=dir;%use dir, as it seems to act OS independent
 	list_ids=[];
 	for i=1:numel(flist),
