]> git.donarmstrong.com Git - perltidy.git/commitdiff
The -DEBUG option no longer also writes a .LOG file
authorSteve Hancock <perltidy@users.sourceforge.net>
Fri, 5 Jan 2024 16:55:50 +0000 (08:55 -0800)
committerSteve Hancock <perltidy@users.sourceforge.net>
Fri, 5 Jan 2024 16:55:50 +0000 (08:55 -0800)
This was almost never needed and left a lot of files to clean up.

CHANGES.md
lib/Perl/Tidy.pm

index 2678697c55dce432358323492db23a31af6c48f0..5e8a8c120c0e0a1525b3f434e2fe67358372d863 100644 (file)
       emit an else block when two elsif blocks were separated by a hanging
       side comment (a very rare situation).
 
+    - The -DEBUG option no longer automatically also writes a .LOG file.
+      Use --show-options if the .LOG file is needed.
+
 ## 2023 09 12
 
     - Fix for git #124: remove a syntax error check which could cause
index 8f73131165db33eaabc09474373f308bdb8ee76c..350d1001034888ab306a77f3b635ceaf1cf6b07c 100644 (file)
@@ -3292,7 +3292,7 @@ sub make_logfile_header {
     $msg .= "Configuration and command line parameters for this run:\n";
     $msg .= "$options_string\n";
 
-    if ( $rOpts->{'DEBUG'} || $rOpts->{'show-options'} ) {
+    if ( $rOpts->{'show-options'} ) {
         $rOpts->{'logfile'} = 1;    # force logfile to be saved
         $msg .= "Final parameter set for this run\n";
         $msg .= "------------------------------------\n";