Skip to content

Commit 8b4da51

Browse files
Changing again with mutli-character flag
1 parent d5d6fa7 commit 8b4da51

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Diff to Html generates pretty HTML diffs from unified and git diff output in you
6969
-o, --output Output destination [choices: "preview", "stdout"] [default: "preview"]
7070
-u, --diffy Upload to diffy.org [choices: "browser", "pbcopy", "print"]
7171
-F, --file Send output to file (overrides output option) [string]
72-
-w, --html-wrapper-template Path to custom template to be rendered when using the "html" output format [string]
72+
-hwt, --html-wrapper-template Path to custom template to be rendered when using the "html" output format [string]
7373
--version Show version number
7474
-h, --help Show help
7575

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ var argv = yargs.usage('Usage: diff2html [options] -- [diff args]')
130130
}
131131
})
132132
.options({
133-
'w': {
133+
'hwt': {
134134
alias: 'html-wrapper-template',
135135
describe: 'Use a custom template when generating markup',
136136
nargs: 1,

0 commit comments

Comments
 (0)