Skip to content

Commit d8461c0

Browse files
authoredJan 13, 2023
fix: show --repl option for suggestions (#4011)
* show `--repl` option for suggestions
1 parent 7c3c36d commit d8461c0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎packages/cspell/src/__snapshots__/app.test.ts.snap

+2
Original file line numberDiff line numberDiff line change
@@ -1033,6 +1033,8 @@ exports[`Validate cli app suggest ["sug"] 1`] = `
10331033
" limited, by not including suggestions",
10341034
" that have the same edit cost.",
10351035
" --stdin Use stdin for input.",
1036+
" --repl REPL interface for looking up",
1037+
" suggestions.",
10361038
" -v, --verbose Show detailed output.",
10371039
" -d, --dictionary <dictionary name> Use the dictionary specified. Only",
10381040
" dictionaries specified will be used.",

‎packages/cspell/src/commandSuggestion.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function commandSuggestion(prog: Command): Command {
6161
'Force the number of suggested to be limited, by not including suggestions that have the same edit cost.'
6262
)
6363
.option('--stdin', 'Use stdin for input.')
64-
.addOption(new CommanderOption('--repl', 'REPL interface for looking up suggestions.').hideHelp())
64+
.addOption(new CommanderOption('--repl', 'REPL interface for looking up suggestions.'))
6565
.option('-v, --verbose', 'Show detailed output.', count, 0)
6666
.option(
6767
'-d, --dictionary <dictionary name>',

0 commit comments

Comments
 (0)
Please sign in to comment.