Skip to content

Commit 53382eb

Browse files
authored
fix: add command name for improved usage output (#122)
1 parent 1ca1dc8 commit 53382eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cli-validator/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const version = require('../../package.json').version;
1313
// set up the command line options
1414
/* prettier-ignore */
1515
program
16+
.name('lint-openapi')
1617
.version(version, '-v, --version')
1718
.description('Run the validator on a specified file')
1819
.arguments('[<file>]')

0 commit comments

Comments
 (0)