@@ -58,18 +58,18 @@ Usage: diff2html [options] -- [diff args]
5858
5959| flag | alias | description | choices | default |
6060| --- | --- | --- | --- | --- |
61- | -s | --style | Output style | [ choices: " line", " side" ] | [ default: " line" ] |
62- | --sc | --synchronisedScroll | Synchronised horizontal scroll | [ choices: " enabled", " disabled" ] | [ default: " enabled" ] |
63- | --su | --summary | Show files summary | [ choices: " closed", " open", " hidden" ] | [ default: " closed" ] |
64- | --lm | --matching | Diff line matching type | [ choices: " lines", " words", " none" ] | [ default: " none" ] |
65- | --lmt | --matchWordsThreshold | Diff line matching word threshold | | [ default: " 0.25" ] |
66- | --lmm | --matchingMaxComparisons | Diff line matching maximum line comparisons of a block of changes | [ default: 2500] |
67- | --hwt | --htmlWrapperTemplate | Path to custom template to be rendered when using the " html" output format [ string] |
68- | -f | --format | Output format | [ choices: " html", " json" ] | [ default: " html" ] |
69- | -d | --diff | Diff style | [ choices: " word", " char" ] | [ default: " word" ] |
70- | -i | --input | Diff input source | [ choices: " file", " command", " stdin" ] | [ default: " command" ] |
71- | -o | --output | Output destination | [ choices: " preview", " stdout" ] | [ default: " preview" ] |
72- | -u | --diffy | Upload to diffy.org | [ choices: " browser", " pbcopy", " print" ] | |
61+ | -s | --style | Output style | ` line ` , ` side ` | ` line ` |
62+ | --sc | --synchronisedScroll | Synchronised horizontal scroll | ` enabled ` , ` disabled ` | ` enabled ` |
63+ | --su | --summary | Show files summary | ` closed ` , ` open ` , ` hidden ` | ` closed ` |
64+ | --lm | --matching | Diff line matching type | ` lines ` , ` words ` , ` none ` | ` none ` |
65+ | --lmt | --matchWordsThreshold | Diff line matching word threshold | | ` 0.25 ` |
66+ | --lmm | --matchingMaxComparisons | Diff line matching maximum line comparisons of a block of changes | ` 2500 ` |
67+ | --hwt | --htmlWrapperTemplate | Path to custom template to be rendered when using the ` html ` output format [ string] |
68+ | -f | --format | Output format | ` html ` , ` json ` | ` html ` |
69+ | -d | --diff | Diff style | ` word ` , ` char ` | ` word ` |
70+ | -i | --input | Diff input source | ` file ` , ` command ` , ` stdin ` | ` command ` |
71+ | -o | --output | Output destination | ` preview ` , ` stdout ` | ` preview ` |
72+ | -u | --diffy | Upload to diffy.org | ` browser ` , ` pbcopy ` , ` print ` | |
7373| -F | --file | Send output to file (overrides output option) [ string] | | |
7474| --version | | Show version number | | |
7575| -h | --help | Show help | | |
0 commit comments