Add timestamp and argument list to log files

This commit is contained in:
Jack Nagel 2014-09-05 00:36:39 -05:00
parent 6638d08489
commit 03abf83472

View File

@ -536,6 +536,8 @@ class Formula
wr.close
File.open(logfn, 'w') do |f|
f.puts Time.now, "", cmd, args, ""
while buf = rd.gets
f.puts buf
puts buf if ARGV.verbose?