Skip to content

Commit

Permalink
Merge pull request #9771 from keymanapp/fix/developer/9766-kmc-analyz…
Browse files Browse the repository at this point in the history
…e-crash

fix(developer): kmc crash on start
  • Loading branch information
mcdurdin authored Oct 16, 2023
2 parents 5073a6a + 1d15753 commit 4981b1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions developer/src/kmc/src/commands/analyze.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ interface AnalysisActivityOptions /* not inheriting from CompilerBaseOptions */
};

export function declareAnalyze(program: Command) {
let command = program.command('analyze [infile...]');
let command = program.command('analyze');
declareOskCharUse(command);
declareOskRewrite(command);
}

function declareOskCharUse(command: Command) {
let subCommand = command.command('osk-char-use');
let subCommand = command.command('osk-char-use [infile...]');
BaseOptions.addLogLevel(subCommand);
subCommand
.description('Analyze On Screen Keyboards for character usage')
Expand All @@ -52,7 +52,7 @@ function declareOskCharUse(command: Command) {
}

function declareOskRewrite(command: Command) {
let subCommand = command.command('osk-rewrite-from-char-use');
let subCommand = command.command('osk-rewrite-from-char-use [infile...]');
subCommand
.description('Rewrite On Screen Keyboard files from source mapping; given file.ext, output is written to file-pua.ext')
.addOption(new Option('-m, --mapping-file <filename>', 'JSON mapping file to read from').makeOptionMandatory())
Expand Down

0 comments on commit 4981b1e

Please sign in to comment.