Skip to content

Commit e9b5c17

Browse files
authored
Merge pull request #158 from rtfpessoa/fix-args
fix args in yargs
2 parents 152bc23 + 6df15ac commit e9b5c17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/yargs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const choices: ArgvChoices = {
8686
export async function setup(): Promise<Argv> {
8787
const currentYear = new Date().getFullYear();
8888

89-
const argv = await yargs()
89+
const argv = await yargs(process.argv.slice(2))
9090
.usage('Usage: diff2html [options] -- [diff args]')
9191
.option('style', {
9292
alias: 's',

0 commit comments

Comments
 (0)