hedgewars/ArgParsers.inc
changeset 8329 f14d16c5277a
parent 8327 a6f3452f5f94
child 8354 c25bee85d6f8
equal deleted inserted replaced
8328:03684c667664 8329:f14d16c5277a
   253             isValid:= not isValid;
   253             isValid:= not isValid;
   254 
   254 
   255         if isValid then
   255         if isValid then
   256             begin
   256             begin
   257             parseParameter(cmd, arg, tmpInt);
   257             parseParameter(cmd, arg, tmpInt);
   258             newSyntax += cmd + ' ';
   258             newSyntax := newSyntax + cmd + ' ';
   259             if not isBool then
   259             if not isBool then
   260                 newSyntax += arg + ' ';
   260                 newSyntax := newSyntax + arg + ' ';
   261             end;
   261             end;
   262         inc(index);
   262         inc(index);
   263         end;
   263         end;
   264     
   264     
   265     WriteLn(stdout, 'Attempted to automatically convert to the new syntax:');
   265     WriteLn(stdout, 'Attempted to automatically convert to the new syntax:');