chore(proto-loader-gen-types): update option descriptions for consistency

This commit is contained in:
tenkirin 2025-03-05 07:21:07 +09:00
parent c5b96a9054
commit 68bfa3b5e7
2 changed files with 4 additions and 4 deletions

View File

@ -104,10 +104,10 @@ Options:
--outputBranded Output property for branded type for "restricted" --outputBranded Output property for branded type for "restricted"
types with fullName of the Message as its value types with fullName of the Message as its value
[boolean] [default: false] [boolean] [default: false]
--targetFileExtension File extension for generated files. Defaults to .ts --targetFileExtension File extension for generated files.
[string] [default: ".ts"] [string] [default: ".ts"]
--importFileExtension File extension for import specifiers in generated --importFileExtension File extension for import specifiers in generated
code. Defaults to none (omitted) [string] code. [string] [default: ""]
``` ```
### Example Usage ### Example Usage

View File

@ -920,8 +920,8 @@ async function runScript() {
outputTemplate: 'Template for mapping output or "restricted" type names', outputTemplate: 'Template for mapping output or "restricted" type names',
inputBranded: 'Output property for branded type for "permissive" types with fullName of the Message as its value', inputBranded: 'Output property for branded type for "permissive" types with fullName of the Message as its value',
outputBranded: 'Output property for branded type for "restricted" types with fullName of the Message as its value', outputBranded: 'Output property for branded type for "restricted" types with fullName of the Message as its value',
targetFileExtension: 'File extension for generated files. Defaults to .ts', targetFileExtension: 'File extension for generated files.',
importFileExtension: 'File extension for import specifiers in generated code. Defaults to none (omitted)' importFileExtension: 'File extension for import specifiers in generated code.'
}).demandOption(['outDir']) }).demandOption(['outDir'])
.demand(1) .demand(1)
.usage('$0 [options] filenames...') .usage('$0 [options] filenames...')