Skip to content

Added stdin example to README #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 27, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ Diff to Html generates pretty HTML diffs from unified and git diff output in you
in the browser and input from git diff command
diff2html -i file -- my-file-diff.diff
-> reading the input from a file
diff -u file1.txt file2.txt | diff2html -i stdin
-> reading diff from stdin
diff2html -f json -o stdout -- -M HEAD~1
-> print json format to stdout
diff2html -F my-pretty-diff.html -- -M HEAD~1
Expand Down