Skip to content

Commit 67c9ee4

Browse files
authored
Merge pull request #25 from brendannee/patch-1
Added stdin example to README
2 parents 8db92fd + 76574b2 commit 67c9ee4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ Diff to Html generates pretty HTML diffs from unified and git diff output in you
7878
in the browser and input from git diff command
7979
diff2html -i file -- my-file-diff.diff
8080
-> reading the input from a file
81+
diff -u file1.txt file2.txt | diff2html -i stdin
82+
-> reading diff from stdin
8183
diff2html -f json -o stdout -- -M HEAD~1
8284
-> print json format to stdout
8385
diff2html -F my-pretty-diff.html -- -M HEAD~1

0 commit comments

Comments
 (0)