Explorar o código

ADD: Command line option "--debug-log="

Alexander Koblov %!s(int64=4) %!d(string=hai) anos
pai
achega
fac59b8022
Modificáronse 1 ficheiros con 3 adicións e 4 borrados
  1. 3 4
      src/ucmdlineparams.pas

+ 3 - 4
src/ucmdlineparams.pas

@@ -48,7 +48,8 @@ begin
   FillChar(Options, SizeOf(Options), #0);
   with Options[1] do
   begin
-    Name:= 'no-console';
+    Name:= 'debug-log';
+    Has_arg:= 1;
   end;
   with Options[2] do
   begin
@@ -82,9 +83,7 @@ begin
           case OptionIndex of
             1:
               begin
-                {$IF DEFINED(NIGHTLY_BUILD)}
-                HideConsoleWindow;
-                {$ENDIF}
+                // Used by LazLogger
               end;
             2:
               begin