Skip to content

Commit

Permalink
fix(commanderProgram.js): change option --file to --files
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdanwan committed Sep 25, 2024
1 parent 7dece8f commit 82f66ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commanderProgram.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ program.version(
);

// Options
program.option('-f, --file [files...]', 'specify the files you wish to get explanations for');
program.option('-f, --files [files...]', 'specify the files you wish to get explanations for');
program.option('-o, --outputFile <string>', 'specify the file you wish to output to');
program.option(
'-m, --model <string>',
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/commanderProgram.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('src/commanderProgram.js tests', () => {
description: 'output the current version',
},
{
flags: '-f, --file [files...]',
flags: '-f, --files [files...]',
description: 'specify the files you wish to get explanations for',
},
{ flags: '-o, --outputFile <string>', description: 'specify the file you wish to output to' },
Expand Down

0 comments on commit 82f66ee

Please sign in to comment.