Skip to content

Commit

Permalink
#150 more commander configs
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jun 3, 2023
1 parent b4b1c7f commit 130ddea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/eoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,11 @@ if (process.argv.includes('--latest')) {
const version = require('./version');
program
.name('eoc')
.usage('[options] command')
.summary('EO command line toolkit')
.description('EO command-line toolkit (' + version.what + ' ' + version.when + ')')
.version(version.what);
.version(version.what, '-v, --version', 'Output the version number')
.helpOption('-?, --help', 'Print this help information');

program
.option('-s, --sources <path>', 'Directory with .EO sources', '.')
Expand Down

0 comments on commit 130ddea

Please sign in to comment.