diff --git a/src/yargs.ts b/src/yargs.ts index e89f91c..e789244 100644 --- a/src/yargs.ts +++ b/src/yargs.ts @@ -86,7 +86,7 @@ const choices: ArgvChoices = { export async function setup(): Promise { const currentYear = new Date().getFullYear(); - const argv = await yargs() + const argv = await yargs(process.argv.slice(2)) .usage('Usage: diff2html [options] -- [diff args]') .option('style', { alias: 's',