Browse Source

* short op for ident is t not d, probably copy and paste. Patch by Margers, mantis 36597

git-svn-id: trunk@43963 -
marco 5 năm trước cách đây
mục cha
commit
c35ada7639

+ 1 - 1
packages/fcl-passrc/examples/pasrewrite.pp

@@ -154,7 +154,7 @@ begin
     end;
     end;
   // Indent
   // Indent
   if HasOption('t','indent') then
   if HasOption('t','indent') then
-    FIndentSize:=StrToIntDef(GetOptionValue('d','indent'),-1);
+    FIndentSize:=StrToIntDef(GetOptionValue('t','indent'),-1);
   if (FHeaderFile<>'') and Not FileExists(FheaderFile) then
   if (FHeaderFile<>'') and Not FileExists(FheaderFile) then
     begin
     begin
     PrintUsage(Format('Header file "%s"does not exist',[FHeaderFile]));
     PrintUsage(Format('Header file "%s"does not exist',[FHeaderFile]));