From 82f66ee4cc77071bb62950861e67646cc5b5c9f5 Mon Sep 17 00:00:00 2001 From: peterdanwan Date: Wed, 25 Sep 2024 18:39:13 -0400 Subject: [PATCH] fix(commanderProgram.js): change option --file to --files --- src/commanderProgram.js | 2 +- tests/unit/commanderProgram.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commanderProgram.js b/src/commanderProgram.js index a0503a8..e44ecf7 100644 --- a/src/commanderProgram.js +++ b/src/commanderProgram.js @@ -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 ', 'specify the file you wish to output to'); program.option( '-m, --model ', diff --git a/tests/unit/commanderProgram.test.js b/tests/unit/commanderProgram.test.js index 2851902..5cb5109 100644 --- a/tests/unit/commanderProgram.test.js +++ b/tests/unit/commanderProgram.test.js @@ -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 ', description: 'specify the file you wish to output to' },