@@ -54,18 +54,19 @@ Diff to Html generates pretty HTML diffs from git diff output in your terminal
54
54
Usage: diff2html [options] -- [diff args]
55
55
56
56
Options:
57
- -s, --style Output style [string] [choices: "line", "side"] [default: "line"]
58
- --su, --summary Show files summary [string] [choices: "closed", "open", "hidden"] [default: "closed"]
59
- --lm, --matching Diff line matching type [string] [choices: "lines", "words", "none"] [default: "none"]
60
- --lmt, --matchWordsThreshold Diff line matching word threshold [string] [default: "0.25"]
61
- -f, --format Output format [string] [choices: "html", "json"] [default: "html"]
62
- -d, --diff Diff style [string] [choices: "word", "char"] [default: "word"]
63
- -i, --input Diff input source [string] [choices: "file", "command", "stdin"] [default: "command"]
64
- -o, --output Output destination [string] [choices: "preview", "stdout"] [default: "preview"]
65
- -u, --diffy Upload to diffy.org [string] [choices: "browser", "pbcopy", "print"]
66
- -F, --file Send output to file (overrides output option) [string]
67
- --version Show version number [boolean]
68
- -h, --help Show help [boolean]
57
+ -s, --style Output style [string] [choices: "line", "side"] [default: "line"]
58
+ --su, --summary Show files summary [string] [choices: "closed", "open", "hidden"] [default: "closed"]
59
+ --lm, --matching Diff line matching type [string] [choices: "lines", "words", "none"] [default: "none"]
60
+ --lmt, --matchWordsThreshold Diff line matching word threshold [string] [default: "0.25"]
61
+ --lmm, --matchingMaxComparisons Diff line matching maximum line comparisons of a block of changes [default: 2500]
62
+ -f, --format Output format [string] [choices: "html", "json"] [default: "html"]
63
+ -d, --diff Diff style [string] [choices: "word", "char"] [default: "word"]
64
+ -i, --input Diff input source [string] [choices: "file", "command", "stdin"] [default: "command"]
65
+ -o, --output Output destination [string] [choices: "preview", "stdout"] [default: "preview"]
66
+ -u, --diffy Upload to diffy.org [string] [choices: "browser", "pbcopy", "print"]
67
+ -F, --file Send output to file (overrides output option) [string]
68
+ --version Show version number [boolean]
69
+ -h, --help Show help [boolean]
69
70
70
71
Examples:
71
72
diff2html -s line -f html -d word -i command -o preview -- -M HEAD~1
0 commit comments