diff --git a/windows/src/developer/kmconvert/Keyman.Developer.System.KMConvertParameters.pas b/windows/src/developer/kmconvert/Keyman.Developer.System.KMConvertParameters.pas index 9ccae75dec..643dcf3cc7 100644 --- a/windows/src/developer/kmconvert/Keyman.Developer.System.KMConvertParameters.pas +++ b/windows/src/developer/kmconvert/Keyman.Developer.System.KMConvertParameters.pas @@ -58,7 +58,7 @@ begin Exit(False); i := 2; - while i < ParamCount do + while i <= ParamCount do begin if ParamStr(i) = '-nologo' then begin @@ -91,22 +91,24 @@ begin writeln(' Creates a wordlist lexical model project in the repository template format'); writeln; writeln('Parameters:'); - writeln(' -nologo Don''t show the program description and copyright banner'); - writeln(' -klid The KLID of the keyboard to import, per LoadKeyboardLayout'); - writeln(' -id The id of the keyboard to create'); - writeln(' (in `import-windows` mode, can be a format string)'); - writeln(' -o The target folder to write the project into, defaults to "."'); - writeln(' -author Name of author of the keyboard/model, no default'); - writeln(' -name Name of the keyboard/model, e.g. "My First Keyboard", "%s Basic" '); - writeln(' (format strings are only valid in `import-windows` mode)'); - writeln(' -copyright Copyright string for the keyboard/model, defaults to "Copyright (C)"'); - writeln(' -version Version number of the keyboard/model, defaults to "1.0"'); - writeln(' -languages space-separated list of BCP 47 tags, e.g. "en-US tpi-PG"'); + writeln(' -nologo Don''t show the program description and copyright banner'); + writeln(' -klid The KLID of the keyboard to import, per LoadKeyboardLayout'); + writeln(' -id The id of the keyboard to create'); + writeln(' (in `import-windows` mode, can be a format string)'); + writeln(' -o The target folder to write the project into, defaults to "."'); + writeln(' -author Name of author of the keyboard/model, no default'); + writeln(' -name Name of the keyboard/model, e.g. "My First Keyboard", "%s Basic" '); + writeln(' (format strings are only valid in `import-windows` mode)'); + writeln(' -copyright Copyright string for the keyboard/model, defaults to "Copyright (C)"'); + writeln(' -version Version number of the keyboard/model, defaults to "1.0"'); + writeln(' -languages Space-separated list of BCP 47 tags, e.g. "en-US tpi-PG"'); + writeln(' -targets Space-separate list of targets, e.g. "linux windows phone"'); + writeln; // Model parameters writeln('Note: model identifiers are constructed from params: ..'); - writeln(' -id-author Identifier for author of model'); - writeln(' -id-language Single BCP 47 tag identifying primary language of model'); - writeln(' -id-uniq Unique name for the model'); + writeln(' -id-author Identifier for author of model'); + writeln(' -id-language Single BCP 47 tag identifying primary language of model'); + writeln(' -id-uniq Unique name for the model'); end; { TKMConvertParameters }