Skip to content

Commit cc8b135

Browse files
authored
Update help (#59)
1 parent f4a397f commit cc8b135

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

bin/eyo.mjs

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,17 @@ program.configureHelp({
2626

2727
program
2828
.name('eyo')
29-
.version(version, '-V, --version', 'output the version number')
29+
.version(version, '-V, --version', 'Output the version number.')
30+
.helpOption('-h, --help', 'Display help for command.')
3031
.usage('[options] <file-or-url...>\n\n Restoring the letter “ё” (yo) in russian texts.')
31-
.argument('[file-or-url...]', 'files or URLs to process')
32-
.option('-l, --lint', 'Search of safe and unsafe replacements')
32+
.argument('[file-or-url...]', 'Files or URLs to process.')
33+
.option('-l, --lint', 'Search of safe and unsafe replacements.')
3334
.option('-i, --in-place', 'Write files in place.')
34-
.option('-s, --sort', 'Sorting results by words with grouping')
35-
.option('--only-safe', 'Output only safe replacements')
36-
.option('--no-colors', 'Clean output without colors')
37-
.option('--stdin', 'Process text provided on <STDIN>')
38-
.option('--stdin-filename <file>', 'Specify filename to process STDIN as')
35+
.option('-s, --sort', 'Sorting results by words with grouping.')
36+
.option('--only-safe', 'Output only safe replacements.')
37+
.option('--no-colors', 'Clean output without colors.')
38+
.option('--stdin', 'Process text provided on <STDIN>.')
39+
.option('--stdin-filename <file>', 'Specify filename to process STDIN as.')
3940
.action((files, options) => {
4041
chalk.enabled = options.colors;
4142

0 commit comments

Comments
 (0)