e4ccbfe276
Not that useful right now as we don't escape < and >. Perhaps another tool can be added to convert the ANSI output to HTML.
15 lines
306 B
Python
Executable File
15 lines
306 B
Python
Executable File
#!/usr/bin/python
|
|
|
|
from hb_test_tools import *
|
|
import sys, os
|
|
|
|
colors = Colors.Auto (sys.argv)
|
|
|
|
if len (sys.argv) != 3:
|
|
print "usage: %s [--color] file1 file2" % sys.argv[0]
|
|
sys.exit (1)
|
|
|
|
files = (FileHelpers.open_file_or_stdin (f) for f in sys.argv[1:3])
|
|
|
|
FancyDiffer.diff_files (*files, colors=colors)
|